Changes between Version 16 and Version 17 of AlsprocDevelopment
- Timestamp:
- Mar 25, 2015, 8:22:54 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AlsprocDevelopment
v16 v17 42 42 Ideally in future this would be implemented entirely in the C program. The reason this isn't the case now is because of the effort involved in passing meta data into and around the program. This kind of problem weighs in favour of implementing a reader for .cfg files in alsproc and allowing components in the program to query the reader as they require. Otherwise, the maintainer will face the problem of keeping within the character limit for each line of Bash in passing arguments into alsproc directly via command line. This kind of solution is part of a bigger discussion which has not yet been resolved, justifying the semi-temporary solution currently in-place. 43 43 44 == Subversion==44 == Git == 45 45 46 Alsproc can be found in subversion under tools/alsproc. Obtain a copy with svn checkout.46 Alsproc is in a separate git repository, you can clone using: 47 47 {{{ 48 svn checkout https://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/trunk/tools/alsproc 48 git clone -v https://$USER@rsg.pml.ac.uk/intranet/gitrepos/arsf/internal_only/alsproc.git 49 49 }}} 50 51 You can make and manage your changes in this checkout. When you've tested it and you're happy, you may need to advance the version number. Edit the Makefile in src/, and find the line which says vers=x.x.x and advance it as you need. 52 {{{ 53 # VERSION NUMBER 54 vers=0.0.9 55 }}} 56 57 When you're satisfied, commit the changes. 58 {{{ 59 svn commit 60 }}} 61 62 And finally, tag the branch version if you advanced the version number. 63 {{{ 64 svn cp https://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/trunk/tools/alsproc https://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/tags/alsproc-0.0.9 -m "tagging new version of alsproc" 65 }}} 50 Make changes in a separate branch (forked from 'development-branch') and go through code review to get these merged into the development branch. For releases, merge changes into the master branch and tag. 66 51 67 52 == Testing == … … 85 70 }}} 86 71 87 Current policy is to install in the home directory of the arsf user, as this asserts that all users across the department are using the same and current version of alsproc. Enter usr/opt/alsproc and check out the version you wish to build, check out the repository, compile it, and install it locally using the purpose-built Makefile rule: arsf_install. 88 89 {{{ 90 cd ~arsf/usr/opt/alsproc 91 svn checkout https://rsg.pml.ac.uk/intranet/svnroots/arsf-internal/tags/alsproc-0.0.9 92 cd alsproc-0.0.9/src 93 make 94 make arsf_install 95 }}} 72 Current policy is to install in the home directory of the arsf user, as this asserts that all users across the department are using the same and current version of alsproc. 96 73 97 74 == To Do ==