Difference between revisions of "SubversionServer"

From LIBISIS
Jump to navigation Jump to search
 
 
(8 intermediate revisions by the same user not shown)
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 is held 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 [http://lists.libisis.org/mailman/listinfo/libisis-code-svn mailing list]. 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====
+
====Checkout and build locally (Read-Only 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 NeXus Wiki username and password. Note that for subversion write access:
+
Read-Only access can be obtained via a subversion client such as [http://tortoisesvn.tigris.org/ TortoiseSVN] and the repository URL of '''http://svn.libisis.org/code/trunk'''. On linux you would type:
 +
<PRE>
 +
svn co http://svn.libisis.org/code/trunk libisis
 +
</PRE>
 +
To pull out the top revision (trunk) into a local directory called '''libisis'''
 +
 
 +
Consult the appropriate [http://svn.libisis.org/code/trunk/Linux/ README file] for building instructions.
 +
 
 +
====Checkout, build locally and commit new code (Read/Write Access, LOGIN REQUIRED)====
 +
 
 +
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:
+
The URL of the subversion repository for read/write access is '''https://svn.libisis.org/code/trunk''' - note this starts '''https:''' and if you type '''http:''' by mistake you will not be prompted for a username/password and will only be granted read access.
  
* URL of the subversion repository: '''https://svn.nexusformat.org/code/trunk''' (for library/applications) or '''https://svn.nexusformat.org/definitions/trunk''' (for definitions)
+
On Linux you would type:
 
<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>
 +
To pull out the top revision (trunk) into a local directory called '''libisis'''
  
 
Please report any problems via out the [[IssueReporting]] system
 
Please report any problems via out the [[IssueReporting]] system
Line 47: Line 56:
 
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]
 

Latest revision as of 18:41, 9 March 2010

LIBISIS source code is held 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 list. 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:

Checkout and build locally (Read-Only Access)

Read-Only access can be obtained via a subversion client such as TortoiseSVN and the repository URL of http://svn.libisis.org/code/trunk. On linux you would type:

svn co http://svn.libisis.org/code/trunk libisis

To pull out the top revision (trunk) into a local directory called libisis

Consult the appropriate README file for building instructions.

Checkout, build locally and commit new code (Read/Write Access, LOGIN REQUIRED)

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.

The URL of the subversion repository for read/write access is https://svn.libisis.org/code/trunk - note this starts https: and if you type http: by mistake you will not be prompted for a username/password and will only be granted read access.

On Linux you would type:

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

To pull out the top revision (trunk) into a local directory called 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: