[oXygen-user] Git submodules in frameworks
Tony Graham
tgraham at antenna.co.jp
Mon Nov 16 06:12:39 CST 2020
On 09/11/2020 22:49, Christophe Marchand wrote:
> Hum... Gerrit uses a lot submodules in his/their product, with
> success. In my opinion, it's not enough. There is nothing that avoid
> you to set your submodule reference to a branch under developement.
Nothing except a bit of discipline to always have submodules checked out
at tags when they are committed in the superproject. Presumably you
could also automate a test of the files in one or the other '.git'
directory to check that each submodule's commit matches the format of a
tag rather than an SHA-1. You could probably test it just with a script
and the 'git' shell command, but I haven't looked into that, either.
...
> You'd better build your framework, deploy it to an artifact
> repository (a basic file web server), and then configure oXygen to
> get this framework from this location.
You can make Oxygen get a specific version of a framework straight from
GitHub:
https://inasmuch.as/2013/10/23/oxygen-add-on-hosted-on-github/
As it happens, I first did this for a framework of Wendell's.
Regards,
Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham at antenna.co.jp
More information about the oXygen-user
mailing list