Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Note

This refers to how to branch your module in SVN, but our svn server is deprecated in favor of using Git on GitHub

Module Repository Layout

Within the code repository, modules are located under the openmrs-modules folder in a folder determined by the module's module ID. and should be organized using the conventions of trunk, branches, and tags folders (code is checked into the trunk folder and copied to a subfolder of branches when code for new features needs to be committed before the feature is finished and copied to tags when versions of the module are released.

...

Code Block
langbash
$ svn mv [http://svn.openmrs.org/openmrs-modules/foobar] [http://svn.openmrs.org/openmrs-modules/foobar.tmp] \ \-m "foobar: re-organizing module folders"

...

Code Block
langbash
$ svn mkdir [http://svn.openmrs.org/openmrs-modules/foobar] \-m "foobar: re-organizing module folders"

...

Code Block
langbash
$ svn mv [http://svn.openmrs.org/openmrs-modules/foobar.tmp] [http://svn.openmrs.org/openmrs-modules/foobar/trunk] \ \-m "foobar: re-organizing module folders"

...

Code Block
langbash
$ svn sw [http://svn.openmrs.org/openmrs-modules/foobar/trunk] localcopy

See Also