wiki:Package Management/SVN Configuration

Version 3 (modified by cdelacruz/admin@…, 19 years ago) ( diff )

--

Please review CAL Subversion Repository information before proceeding.

The first step is to checkout the part/directory of the trunk 
that will be modified. You don't need to check out the entire trunk, if you
just want to work on one subdirectory.  For example, to start work on cal-meta on a new machine, do:

mkdir -p ~/src
cd ~/src
svn co https://docs.astro.columbia.edu/svn/cal-svn/trunk/packages/cal-meta

this lets me avoid all the other packages and information that i don't
really need.

 * Note: you must be added to the list of svn committers on the
repository. The list of people with rw access to the repository 
(which is controlled via uranus:/srv/archive/cal/etc/public-svn-authzfile).  
  • Edit the CAL dependency list at:
    ~/src/cal-meta/src/debian/control
    add the package to the 'Package: cal-configured-workstation' section.
    
  • Verify the changes to the file:
    cdelacruz@phobos:~/src/cal-meta/src/debian$ svn status
    M      control
    
    
    cdelacruz@phobos:~/src/cal-meta/src/debian$ svn diff
    Index: control
    ===================================================================
    --- control     (revision 271)
    +++ control     (working copy)
    @@ -34,7 +34,13 @@
    
     Package: cal-configured-workstation
     Architecture: any
    -Depends: cal-base (= ${Source-Version}), libnss-ldap, 
    .
    .
    .
    unison, xchm
    
     Conflicts: cal-server
     Description: meta-package for Configured Workstations at the Columbia Astrophysics Lab
      cal-configured workstation is a simple meta-package that should make
    
  • Commit the changes to the Repository:
    cdelacruz@phobos:~/src/cal-meta/src/debian$ svn commit control
    Sending        control
    
    Editor will be invoked, provide info. regarding the changes being made.
    
    Transmitting file data .
    Committed revision 272.
    cdelacruz@phobos:~/src/cal-meta/src/debian$
    

After adding the package to the CW dependency list, it will become part of the standard CW install when the new revision is pushed out. It usually takes a couple of days. To verify the changes, check the following location:

https://docs.astro.columbia.edu/browser/trunk/packages/cal-meta/src/debian

control   	3.4 kB  	272  	6 minutes  	 cdelacruz@ASTRO.COLUMBIA.EDU:  added xchm (Compiled HTML Help (CHM) file viewer for X) to CWs.

* for the user requesting the application, you can logon to their CW 
and manually install the package using the apt-get install 'package' command.
Note: See TracWiki for help on using the wiki.