Changes between Version 1 and Version 2 of AddingANewPackage


Ignore:
Timestamp:
07/01/15 12:57:35 (6 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddingANewPackage

    v1 v2  
    55N.B. This is **not** the process for adding a new Ubuntu package to "the release". 
    66 
    7 This is poorly documented, and Victor should have written this article 2 years ago. 
     7=== 1. Create Repository === 
     8 
     9Create the repository on `drugstore` by logging in as `athenasnap` (with your root tickets), and running: 
     10{{{ 
     11$ /git/athena/repository-configuration/bin/create-repo 
     12}}} 
     13 
     14That will create the repository both on drugstore and on Github. 
     15 
     16=== 2. Add Submodule === 
     17 
     18Determine where the package should go, based on the guidelines in the [wiki:WorkingWithTheRepository repository layout section of this article]. 
     19In your local clone of the "superrepo" (`git+ssh://git.mit.edu/git/athena/debathena`), add the submodule with a relative path: 
     20{{{ 
     21$ git submodule add ../new-thing.git debathena/new-thing 
     22}}} 
     23That should clone the repository and add it to your .gitmodules.  If you run `git status`, you'll see the new directory and the changes to .gitmodules are staged for commit.  Commit them, and push to `origin`. 
     24 
     25=== 3. Update the Checkouts === 
     26 
     27N.B. It is unclear if this step is actually needed. 
     28 
     29Go to `/home/builder/build/checkouts` on the build server, and `git pull`. 
     30 
     31