Difference between revisions of "SubversionServer"

From LIBISIS
Jump to navigation Jump to search
 
Line 1: Line 1:
 
LIBISIS source code isheld in a [http://subversion.tigris.org/ subversion repository]. The repository is world readable and though you can browse the [http://svn.libisis.org/code/ LIBISIS library] repository directly, but a better looking interface is provided by the [http://www.viewvc.org/ ViewVC] or [http://trac.edgewall.org TRAC] browsers.   
 
LIBISIS source code isheld in a [http://subversion.tigris.org/ subversion repository]. The repository is world readable and though you can browse the [http://svn.libisis.org/code/ LIBISIS library] repository directly, but a better looking interface is provided by the [http://www.viewvc.org/ ViewVC] or [http://trac.edgewall.org TRAC] browsers.   
  
* Browse NeXus library/applications repository using [http://svn.nexusformat.org/viewvc/NeXusCode ViewVC] or [http://trac.nexusformat.org/code/browser TRAC]
+
* Browse LIBISIS repository using [http://svn.libisis.org/viewvc/LIBISISCode ViewVC] or [http://trac.libisis.org/code/browser TRAC]
* Browse NeXus definitions repository using [http://svn.nexusformat.org/viewvc/NeXusDefinitions ViewVC] or [http://trac.nexusformat.org/definitions/browser TRAC]
 
  
The repository can alse be interrogated for recent updates via a [http://svn.nexusformat.org/viewvc/NeXusCode/trunk/?view=queryform query form] e.g show me all [http://svn.nexusformat.org/viewvc/NeXusCode/trunk/?view=query&date=month&limit_changes=100 Library] or [http://svn.nexusformat.org/viewvc/NeXusDefinitions/trunk/?view=query&date=month&limit_changes=100 Definition] changes in the last month.
+
The repository can alse be interrogated for recent updates via a [http://svn.libisis.org/viewvc/LIBISISCode/trunk/?view=queryform query form] e.g show me all [http://svn.libisis.org/viewvc/LIBISISCode/trunk/?view=query&date=month&limit_changes=100 Library] changes in the last month.
  
 
If you wish to receive an email when a change is made to the repository you should join the appropriate [[Mailing Lists]]. Alternatively, you can use an RSS feed to keep an eye on changes - TRAC supports this on pages with an orange "XML RSS Feed" icon at their foot such as:
 
If you wish to receive an email when a change is made to the repository you should join the appropriate [[Mailing Lists]]. Alternatively, you can use an RSS feed to keep an eye on changes - TRAC supports this on pages with an orange "XML RSS Feed" icon at their foot such as:
* The ''Timeline'' pages for [http://trac.nexusformat.org/code/timeline library] and [http://trac.nexusformat.org/definitions/timeline definitions]   
+
* The ''Timeline'' pages for [http://trac.libisis.org/code/timeline library]   
* The ''Revision Log'' pages for [http://trac.nexusformat.org/code/log library] and [http://trac.nexusformat.org/definitions/log definitions] 
+
* The ''Revision Log'' pages for [http://trac.libisis.org/code/log library]  
  
 
====Login====
 
====Login====
To update files in these repositories you will need to use a program such as [http://tortoisesvn.tigris.org/ TortoiseSVN] and also provide your NeXus Wiki username and password. Note that for subversion write access:
+
To update files in these repositories you will need to use a program such as [http://tortoisesvn.tigris.org/ TortoiseSVN] and also provide your LIBISIS Wiki username and password. Note that for subversion write access:
 
* If you Wiki username contains a space, write it with a space (i.e. do not replace the space with an _ as is done in WIKI URLs)
 
* If you Wiki username contains a space, write it with a space (i.e. do not replace the space with an _ as is done in WIKI URLs)
 
* You cannot use a "temporary password" (i.e. one that was emailed to you in response to a request). You must first log into MediaWiki with the temporary password and then go to account [[Special:Preferences]] and change the password.
 
* You cannot use a "temporary password" (i.e. one that was emailed to you in response to a request). You must first log into MediaWiki with the temporary password and then go to account [[Special:Preferences]] and change the password.
 
* Your Wiki account must have an email address assocoiated with it and this address must have been validated. To provide and/or validate your email address, log in and go to your account [[Special:Preferences]] section.
 
* Your Wiki account must have an email address assocoiated with it and this address must have been validated. To provide and/or validate your email address, log in and go to your account [[Special:Preferences]] section.
* If you have login problems and have not changed your WIKI password since 20th October 2006, please go to the [[Special:Userlogin]] page and request to be emailed a new password. To synchronise TRAC/Subversion/MediaWiki required some changes to the autentication system which will have invalidated passwords set prior to that date.
 
  
 
Other information you will need to give to access are:
 
Other information you will need to give to access are:
  
* URL of the subversion repository: '''https://svn.nexusformat.org/code/trunk''' (for library/applications) or '''https://svn.nexusformat.org/definitions/trunk''' (for definitions)
+
* URL of the subversion repository: '''https://svn.libisis.org/code/trunk'''  
 
<PRE>
 
<PRE>
svn co --username "My WIKI Username" https://svn.nexusformat.org/code/trunk nexus_code
+
svn co --username "My WIKI Username" https://svn.libisis.org/code/trunk libisis
 
</PRE>
 
</PRE>
  
Line 47: Line 45:
 
This will close issues #10 and #12, and add a note to #12 on the [[IssueReporting]] system. For a list of current issues see:
 
This will close issues #10 and #12, and add a note to #12 on the [[IssueReporting]] system. For a list of current issues see:
  
* [http://trac.nexusformat.org/code/report/1 Active tickets for the NeXus library]
+
* [http://trac.libisis.org/code/report/1 Active tickets for the LIBISIS library]
* [http://trac.nexusformat.org/definitions/report/1 Active tickets for NeXus definitions]
 

Revision as of 18:08, 8 December 2006

LIBISIS source code isheld in a subversion repository. The repository is world readable and though you can browse the LIBISIS library repository directly, but a better looking interface is provided by the ViewVC or TRAC browsers.

The repository can alse be interrogated for recent updates via a query form e.g show me all Library changes in the last month.

If you wish to receive an email when a change is made to the repository you should join the appropriate Mailing Lists. Alternatively, you can use an RSS feed to keep an eye on changes - TRAC supports this on pages with an orange "XML RSS Feed" icon at their foot such as:

Login

To update files in these repositories you will need to use a program such as TortoiseSVN and also provide your LIBISIS Wiki username and password. Note that for subversion write access:

  • If you Wiki username contains a space, write it with a space (i.e. do not replace the space with an _ as is done in WIKI URLs)
  • You cannot use a "temporary password" (i.e. one that was emailed to you in response to a request). You must first log into MediaWiki with the temporary password and then go to account Special:Preferences and change the password.
  • Your Wiki account must have an email address assocoiated with it and this address must have been validated. To provide and/or validate your email address, log in and go to your account Special:Preferences section.

Other information you will need to give to access are:

svn co --username "My WIKI Username" https://svn.libisis.org/code/trunk libisis

Please report any problems via out the IssueReporting system

Committing Changes

As well as needing a valid account, you will not be able to check-in changes unless you indicate (in the log message attached to the commit) which current issues on the IssueReporting system the changes either fix or refer to. This is done by enclosing special phrases in the commit message of the form:

command #1
command #1, #2
command #1 & #2 
command #1 and #2

where command is one of the commands detailed below and #1 means "issue number 1" on the system etc. You can have more then one command in a message. The following commands are supported and there is more then one spelling for each command (to make this as user-friendly as possible)

  • closes, fixes
    The specified issue numbers are closed with the contents of this commit message being added to it.
  • references, refs, addresses, re
    The specified issue numbers are left in their current status, but the contents of this commit message are added to their notes.

For example the commit message

    Changed blah and foo to do this or that. Fixes #10 and #12, and refs #12.

This will close issues #10 and #12, and add a note to #12 on the IssueReporting system. For a list of current issues see: