Skip to content

Populating_repository_for_replication

Lars Vilhuber edited this page Aug 22, 2021 · 18 revisions

For more detailed and up-to-date info, see https://labordynamicsinstitute.github.io/replicability-training-curriculum/aea-jira-workflow-a-guide.html.

Populate the repository

Note: the images below refer to a particular example. Your precise parameters will be different.

Proceed as follows:

  • You should see this image at the top of your newly created Bitbucket repo, which is called something like aearep-123.

  • In the terminal (or Powershell or Git Bash), navigate to the folder where you keep your LDI work. Powershell example:
PS C:\Users\David> cd Documents\aea_workspace
  • Clone your new Bitbucket repo into this folder.
    • You can copy-paste the full git clone line you see in the image above into the terminal and hit enter
    • Or you can type that same line yourself into into the terminal and hit enter
PS C:\Users\David\Documents\aea_workspace> git clone https://[email protected]/aeaverification/aearep-123.git
  • You will now have a directory called "aearep-123." You should "enter" it (e.g., cd aearep-123)
    • If you followed the steps on the previous page then it will not be empty!

⚠️ Delete any files from the LDI replication materials template that you do not need, including the README.md file.

For instance, the template contains a template_config.R for articles that use R. If your article does not use R, delete it.

⚠️ Rename any files

For example, the template contains a template_config.do, which you should rename to config.do if you intend to use it.

Add replication archive from openICPSR

  • You are now ready to add the authors' replication archive from openICPSR to your repo.
  • Edit SRC.txt and add the link you used to download the replication package
  • You should now add and commit all program files, but ignore the data files! For example:
   git add *do
   git add *pdf
   git status
   git commit -m 'Initial commit of article replication materials'
Clone this wiki locally