Skip to content

git_config confuses branches and tags #3902

@victorusu

Description

@victorusu

We used to install Spack on CSCS systems using EasyBuild. After the 4.4.2 release, the tag option from git_config doesn't change to the correct develop branch of Spack. EB outputs the warning and it fails to change branches:

...
... cmd "git checkout refs/tags/develop" exited with exit code 1 and output:
...
WARNING: Tag develop was not downloaded in the first try due to https://github.com/spack/spack containing a branch with the same name. You might want to alert the maintainers of spack about that issue.

I have tested and confirmed that versions are 4.4.2 and 4.5.0 give this error, while 4.4.1 works.

The easyconfig file that we use can be found here.

I suggest to try to reproduce the error using

eb Spack-daint-git-develop.eb --force-download -f

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions