8000 Improve functionality to fetch/build a project from a specific commit SHA · Issue #78 · coin-or/coinbrew · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Improve functionality to fetch/build a project from a specific commit SHA #78
Open
@mjram0s

Description

@mjram0s

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.co.za>
Date:   Mon Jul 25 17:21:10 2022 +0200
...
~/Projects> coinbrew fetch Clp@master --time="Mon Jul 25 17:21:10 2022"

Note that the --time option has the same bug. If you open an issue on this, I'll try to have a look at it.

Originally posted by @tkralphs in #77 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0