Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Books need Version information #3

Open
sethwoodworth opened this issue Jul 27, 2015 · 4 comments
Open

Books need Version information #3

sethwoodworth opened this issue Jul 27, 2015 · 4 comments

Comments

@sethwoodworth
Copy link
Contributor

❗ We need a stamp on outgoing books that lets us know the state of the git repo that built it.

⁉️ Ideally, we would be denoting the commit or tag of the requirement repos HTMLBook and asciidoctor-HTMLBook that we clone during travis build.

@eshellman
Copy link
Contributor

Could you elaborate on what you mean by "state"?

@sethwoodworth
Copy link
Contributor Author

By state, I mean being able to refer to a specific commit in the history of a repo. I want to be able to track any given epub back to the asciidoc source and travis config.

@eshellman
Copy link
Contributor

we could do it the way pip does either version or full url

@sethwoodworth
Copy link
Contributor Author

I wrote this up in our documentation on using semantic versioning. This can be done with the metadata _version key and a git tag. This would be good enough for now.

Later on we can do things like grabbing the git commit hash from the repo or even generating a checksum of the repo's contents. Ideally we would also maintain our own clones of the sources we use during build (like HTMLBook) and have a version number specified for each. But that can come later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants