Open jamezpolley opened 12 years ago
One of my modules has a reference to the same module:
Actually, I don't know enough about how the names are handled, so I don't know if these two references to the sudo module are actually interpreted as being the same module or if they're handled as different modules with the same name.
Either way, I wouldn't expect that using "--verbose" would change which of the modules gets selected.
FWIW, this is only half-true.
If I use --verbose, librarian reliably installs the version from forge.
If I don't use --verbose, librarian installs the version from forge about one time in three, and the version from github the rest of the time.
It sounds like it's a race condition, and the extra output generated by --verbose slows things down enough to get a predictable outcome.
My Puppetfile stipulates:
One of my modules has a reference to the same module:
2.0.6 is https://github.com/saz/puppet-sudo/commit/232845e698f2edc8ede0a668aed901edac1fe78f master is currently at https://github.com/saz/puppet-sudo/commit/ac5ea2127e0842e4b2514335103101b7fc600d3a - one commit after 2.0.6, and containing a vital bugfix to 2.0.6 which was broken and unuseable. I do not understand why this commit wasn't labelled 2.0.7.
But in any case, my problem is that puppet-librarian keeps reverting back to 2.0.6, which is not what I want.
Specifically,
librarian-puppet update sudo --verbose
will reset the sudo module to 2.0.6.librarian-puppet update sudo
will update it to the latest commit on master.I would expect that, given the summarised output below, the latest version that is >= 2.0.6 and also on master would always be chosen. I would not expect that "--verbose" should have any effect on what gets chosen.
Please note that I'm running 0.9.3, as #31 makes 0.9.4 completely unuseable for me.
Summarised output: