eXist-db / docker-existdb

Docker image builder for eXist-db
GNU Affero General Public License v3.0
11 stars 6 forks source link

repo commit tagsr re, tracking new directory layout #62

Closed grantmacken closed 5 years ago

grantmacken commented 5 years ago

With 4.6 onward we are seeing files and directories moving around.

https://github.com/eXist-db/exist/issues/2506

is copied to eXist-db\src\org\exist\util\mime-types.xml but should end in eXist-db\exist-core\src\main\resources (or we should git rid of the one in EXIST_HOME at all, of have it copied from the resources

Changes like this obviously effect, the way we build our docker image. e.g In the above mentioned mime-types.xml this is symlinked from home to a special docker specific config dir,

What I suggest we do is do a tagged commit for repo before 4.6 Then tag commit when ever we have to make changes to our Dockerfile

i.e.

duncdrum commented 5 years ago

Yes pushing tags has been on my todo list. Although I d suggest starting with 1.0.0 for everything up to exist 4.5.0. With 4.6.0 being the next major release.

Will happen soon, gotta fix master builds first though...

grantmacken commented 5 years ago

@duncdrum Just to clarify, I am not talking about tagging and pushing to docker-hub repos but, making a tagged commit to this repo.

git checkout [commit] or git revert to where the Dockerfile was building correctly before 4.6 then make a tagged commit

git tag -a v0.0.1  -m ' dockerfile for existdb version 4.5.1 and under'
git push origin  v0.0.1

If the Dockerfile was building correctly on or after 4.6 do another tagged commit.

git tag -a v0.0.2 -m 'dockerfile for 4.6 '
git push origin  v0.0.2

What we achieve by doing this ...

We should make tagged commits, ONLY if, the 'Dockerfile' changes and successfully building an eXist image

duncdrum commented 5 years ago

yes we re on the same page

duncdrum commented 5 years ago

tags are live