Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enter your packaging environment (See packaging environment setup documentation)

    Code Block
    vagrant up; vagrant ssh
  2. Set up packaging and updating directories for this package, if this was not done on this machine for this package before

    1. Create a directory to store the resultant packages and source code

      Code Block
      mkdir nginx-datim; cd nginx-datim;
    2. Pull the source code from the ohie repository

      Code Block
      mv deb-nginx-datim/ nginx-datim

       

    3. Create an `orig` tarball, which debuild will look for

      Code Block
      tar czf nginx-datim_1.0.0.orig.tar.gz nginx-datim/*
  3. Make necessary updates to package

  4. Update the package with the new modifications and push it to launchpad

    1. Change direction into project root

      1. you should see the `debian` and `etc` directories when running `dir`

      2. `cd nginx-datim` if dir shows `nginx-datim`
    2. Update git with the changes
    3. Update the change log and increment package version

      Code Block
      dch -i
    4. Build the new package

      Code Block
      debuild -S

       

    5. Push the changes to launchpad

      1. Change directory into the directory where debuild created the package into

        Code Block
        cd ..;

         

      2. Find the name of the most recent source.changes package file

        Code Block
         ll;

         

      3. Push the changes to launchpad

        Code Block
        dput ppa:openhie/datim <name of file>

         

        1. e.g., 

          Code Block
          dput ppa:openhie/datim nginx-datim_1.0.0-0ubuntu13_source.changes

           

           

           

...