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

New tag-related behavior breaks installing some packages #1309

Closed
z------------- opened this issue Dec 12, 2024 · 0 comments
Closed

New tag-related behavior breaks installing some packages #1309

z------------- opened this issue Dec 12, 2024 · 0 comments

Comments

@z-------------
Copy link

Since the new Git tag-related behavior added between 0.16.3 and now, I am no longer able to install or upgrade the chame package:

# repro.nimble
# Package

version       = "0.1.0"
author        = "Anonymous"
description   = "A new awesome nimble package"
license       = "MIT"
srcDir        = "src"


# Dependencies

requires "nim >= 2.3.1"
requires "chame"

nimble install -l results in:

   Warning: Using project local deps mode
Downloading Official package list
    Success Package list downloaded.
Downloading https://git.sr.ht/~bptato/chame using git
       Tip: 6 messages have been suppressed, use --verbose to show them.
tools.nim(62)            tryDoCmdEx

    Error:  Execution of 'git -C /home/user/.nimble/pkgcache/gitsrht_bptatochame_versions fetch --tags' failed with an exit code 1.
        ... Details: From https://git.sr.ht/~bptato/chame
        ...  * [new tag]         v0.10.0    -> v0.10.0
        ...  * [new tag]         v0.10.1    -> v0.10.1
        ...  * [new tag]         v0.11.0    -> v0.11.0
        ...  * [new tag]         v0.11.1    -> v0.11.1
        ...  * [new tag]         v0.11.2    -> v0.11.2
        ...  * [new tag]         v0.12.0    -> v0.12.0
        ...  * [new tag]         v0.13.0    -> v0.13.0
        ...  * [new tag]         v0.14.0    -> v0.14.0
        ...  * [new tag]         v0.14.1    -> v0.14.1
        ...  * [new tag]         v0.14.2    -> v0.14.2
        ...  * [new tag]         v0.14.3    -> v0.14.3
        ...  * [new tag]         v0.14.4    -> v0.14.4
        ...  * [new tag]         v0.14.5    -> v0.14.5
        ...  * [new tag]         v0.9.0     -> v0.9.0
        ...  * [new tag]         v0.9.1     -> v0.9.1
        ...  * [new tag]         v0.9.2     -> v0.9.2
        ...  * [new tag]         v0.9.3     -> v0.9.3
        ...  * [new tag]         v1.0.0     -> v1.0.0
        ...  * [new tag]         v1.0.1     -> v1.0.1
        ... Fetching submodule test/chagashi
        ... fatal: remote error: upload-pack: not our ref 51ebc609748394de0899094a4a7aecce32d53fad
        ... Errors during submodule fetch:
        ...     test/chagashi
jmgomez added a commit to jmgomez/nimble that referenced this issue Dec 12, 2024
@Araq Araq closed this as completed in 6eb711b Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant