Skip to content

Multiple sources for same name,version tuple...#3

Open
dzbarsky wants to merge 1 commit into
mainfrom
multiple_conflicting_crates
Open

Multiple sources for same name,version tuple...#3
dzbarsky wants to merge 1 commit into
mainfrom
multiple_conflicting_crates

Conversation

@dzbarsky

Copy link
Copy Markdown
Member

No description provided.

@dzbarsky dzbarsky force-pushed the multiple_conflicting_crates branch from 58d326f to e415ed1 Compare October 17, 2025 16:16
@dzbarsky dzbarsky force-pushed the main branch 3 times, most recently from 68d000f to 4b07a18 Compare February 10, 2026 17:48
@dzbarsky dzbarsky force-pushed the main branch 4 times, most recently from 97f84f5 to 70e47fb Compare February 22, 2026 16:05
@dzbarsky dzbarsky force-pushed the main branch 2 times, most recently from bdc44d9 to b332517 Compare May 5, 2026 22:00
@csmoe

csmoe commented Jun 11, 2026

Copy link
Copy Markdown

Just for a note, git dep can be specified with branch bitlfags = { git = "https://github.com/bitflags/bitflags", branch = "cargo/2.10.0" }
which will results a dep in lock as: bitflags-2.10.0 (git+https://github.com/bitflags/bitflags?branch=cargo/2.10.0), then the # parsing will miss this case.

@dzbarsky

Copy link
Copy Markdown
Member Author

Just for a note, git dep can be specified with branch bitlfags = { git = "https://github.com/bitflags/bitflags", branch = "cargo/2.10.0" } which will results a dep in lock as: bitflags-2.10.0 (git+https://github.com/bitflags/bitflags?branch=cargo/2.10.0), then the # parsing will miss this case.

If there's no commit hash in the lockfile, how would the build system know when to refetch the repo? It sounds like a recipe for over invalidation and/or non-reproducible builds

@csmoe

csmoe commented Jun 11, 2026

Copy link
Copy Markdown

bitflags-2.10.0 (git+https://github.com/bitflags/bitflags?branch=cargo/2.10.0) appears in other package's deps. bitflags's package name has a hash indeed

@dzbarsky

Copy link
Copy Markdown
Member Author

Ah gotcha! Ok I can take a look when I have a bit of time. Alternately, are you interested in sending a PR?

@csmoe

csmoe commented Jun 11, 2026

Copy link
Copy Markdown

Glad to! I'm trying to make my local patch working, will contribute if succeed.

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

Successfully merging this pull request may close these issues.

2 participants