lockbox icon indicating copy to clipboard operation
lockbox copied to clipboard

Use version requirements in non-remotes section to specify remote

Open davidboren opened this issue 9 years ago • 8 comments

This forces version requirements specified outside of the Remotes section to be applied to the remotes. We can maybe discuss an overall plan for Remotes usage here.

davidboren avatar May 04 '16 22:05 davidboren

Confused about the intention of this PR. Do we still want this? @davidboren @robertzk @peterhurford

kirillseva avatar Aug 21 '17 15:08 kirillseva

@kirillseva I think we need it to help manage packages that specify GitHub dependencies through Remotes in the DESCRIPTION while also specifying version numbers in the Imports or Suggests. We could test that use case more specifically.

This PR needs versioning.

peterhurford avatar Aug 21 '17 15:08 peterhurford

oh, this is for downloading dependencies not only from cran, but also from remotes when lockbox does the dependency caching 👍

kirillseva avatar Aug 21 '17 15:08 kirillseva

@kirillseva Here's one example use case https://github.com/hadley/devtools/blob/master/DESCRIPTION#L27

peterhurford avatar Aug 21 '17 15:08 peterhurford

@peterhurford Versions specified in imports and suggests seem to typically consist of lower bounds rather than explicit versions so I think this may require a bit more work in case multiple packages specify competing bounds.

robertzk avatar Aug 21 '17 16:08 robertzk

Guessing this discussion is still unresolved? (To be fair it's not an easy problem)

abelcastilloavant avatar Jan 08 '18 16:01 abelcastilloavant

Yeah, leaving it open as a reminder.

robertzk avatar Jan 08 '18 16:01 robertzk

This kind of version resolution is what tends to make package managers Turing-complete. :)

robertzk avatar Jan 08 '18 16:01 robertzk