Open rhaas80 opened 1 year ago
Right now https://github.com/EinsteinToolkit/tests/blob/b8c43710e9906be3eacd68135d5571c8fce2b309/store.py#L107 still assumes that the branch we are working on is "master".
This will not always be the case (eg "main" or "trunk" could be used or even "devel").
Instead the HEAD commit should be obtained from (the pygit2 equivalent) of
id = os.popen(f"git --git-dir {REPO}/.git rev-parse HEAD").read().strip()) with open(dst,"w") as fh: print(id, file=fh)
Right now https://github.com/EinsteinToolkit/tests/blob/b8c43710e9906be3eacd68135d5571c8fce2b309/store.py#L107 still assumes that the branch we are working on is "master".
This will not always be the case (eg "main" or "trunk" could be used or even "devel").
Instead the HEAD commit should be obtained from (the pygit2 equivalent) of