![]() ![]() ![]() This will create a new GitHub repository called “DataLad-101” under your account,Īnd configure this repository as a sibling of your datasetĬalled github (exactly like you have done in YODA-compliant data analysis projects On GitHub with the command create-sibling-github. You could, for example, create a sibling of the DataLad-101 dataset To actually share your dataset with someone, you need to publish it to Github, Not a places a real person would take a look at, instead they are only meant toīe managed and accessed via DataLad/git-annex. (see the git-annex documentation for more on this),Īnd avoid leakage of information via file names. Optionally encrypt content on its way from a local machine to a storage service The git-annex documentation for more on this), Through this design it becomes possible to chunk files into smaller units (see It is a tree of annex objects, and thus looks like a bunch of very weirdly named The representation of the files in the special-remote is not human-readable – However, this directory on Dropbox is not the location you would refer your friend or a collaborator to. On Dropbox, a new folder will be created for your annexed files.īy default, this folder will be called git-annex, but it can be configured using the -prefix= option, as done above. If youĬlone into /home/user-bob/repos, the command would look like this 2: If you are on a recent version of Debian or Ubuntu (or have enabled the NeuroDebian repository), you can get it conveniently via your package manager, e.g., with sudo apt-get install git-annex-remote-rclone.Īlternatively, git clone the git-annex-remote-rclone repository to your machine (do not clone it into DataLad-101 but somewhere else on your computer), and copy the path to this repository into your $PATH variable. It is a wrapper around rclone that makes any destination supported by rclone usable with git-annex. Once this is done, install git-annex-remote-rclone. Accepting will bring you back into the terminal Manage your Dropbox, or any other third-party service you have selected If your browser doesn't open automatically go to the following link: Īt this point, this will open a browser and ask you to authorize rclone to Press Enter for the default ("").Ĭhoose a number from below, or type in your own value Outlined below, and all parts that require user input are highlighted.Ħ 13:43:58 NOTICE: Config file "/home/me/.config/rclone/nf" not found - using defaultsĮnter a string value. Remote “dropbox-for-friends” – the name will be used to refer to it later during theĬonfiguration of the dataset we want to publish). Prompt through a ~2 minute configuration of the remote (here we will name the ![]() Running this command will a guide you with an interactive The installation instructions are straightforwardĪnd the installation is quick if you are on a Unix-based system (macOS or anyĪfterwards, run rclone config from the command line to configure rclone to The first step is to install rclone on your computer. It is a command line program to sync files and directories to andįrom a large number of commercial providers 1. To set up Dropbox as a third party storage provide you need to configure a special-remote called To make this as convenient as possible, we will also set up a publication dependency between the two. The many publicly available DataLad datasets such as the longnow podcasts.Īs an example, let’s walk through all necessary steps to publish the DataLad-101 dataset to GitHub, and its file contents to Dropbox. Install a dataset from and successfully run datalad get, just as with What you would like to do is to provide your friend with a URL to To the same computational infrastructure, and there are also many annexed files, e.g., the PDFs in your dataset, that you’d like your friend to have but that can’t be simply computed or automatically obtained from web sources. You and your friend, however, do not have access After all you know about DataLad, you’d like to let more people Let’s say you’d like to share your complete DataLad-101 dataset withĪ friend overseas. Walk-through: Dropbox as a special remote ¶ Thus users can clone a git-annex repository and then decide for every file whether to make it locally available.8.3. A separate git branch logs the location of every file. git-annex manages a content-addressable storage for the files under its control. Instead, a symbolic link representing and linking to the probably large file is committed. Git-annex uses git to index files but does not store them in the git history. The next crowd funding campaign for 2013-14 was organized over a self hosted platform. The main development of this campaign was the git-annex assistant, a component that runs in the background to automate the synchronization of repositories. In 2012-13 the development was funded through a Kickstarter campaign. The development of git-annex began in 2010. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |