Skip to content

Is it possible to specify a commit SHA when fetching/building? #77

Answered by tkralphs
mjram0s asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it's possible, but the mechanism should be improved. There seems to be a small bug. With the current version, it seems you have to do

coinbrew fetch Cbc@master --main-proj-sha=<commit SHA> 

The request for master ends up being ignored, but if you don't specify it, coinbrew will complain.

Note, however, that this does not check out the dependencies as they were at that time, so what you probably really want is to use the --time option, which checks out all packages at a particular point in time. You can use the date format of the git commit log. So do something like

~/projects/Clp> git show c5b57d3d759a6c
commit c5b57d3d759a6cf198600d768df87761e65e406c
Author: Ruan Luies <omega@live.…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tkralphs
Comment options

@mjram0s
Comment options

@mjram0s
Comment options

@tkralphs
Comment options

Answer selected by mjram0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants