#How to call `RepoRootForImportPath`

1 messages ยท Page 1 of 1 (latest)

sand fossil
#

Aha, sorry I missed replying to this.

My personal preference would be if we could upstream this - sadly, since this package is now deprecated, and they recommend using go list (not an option, we don't want that).

Out of the above, I'd rather not pull this into the dagger monorepo if possible:

  1. it's not actually dagger-specific, and tracking and managing changes from upstream is more of a pain (it would be good to keep the filtered git history, I like that)
  2. it's potentially a useful utility that other projects might be interested in using

I think we should move this to the dagger org, just so it's all in one place. Not sure who has permissions to do this, cc @lucid lance?

#

One note - can we add a README explaining what this repo is for, and how it differs from the original? (brings in certain fixes, removes deprecations, and only supports git)

#

Just glancing through the commits - looks like this involved a fair amount of code archivist work, really cool, really impressive ๐Ÿ˜„ ๐Ÿ˜„

lucid lance
#

totally fine to move it to dagger org

flat inlet
#

seems to me that embedding it in the engine is the leanest approach and we can always extract it if we see the value on opening it for other people to use.

sand fossil
#

this is true, but there are two options for vendoring it - either we keep the entire git history of go-vcs (filtered), which clogs up our git history, or we squash it all down into one, and therefore lose it all, which makes it harder to track our changes we make on top

flat inlet
sand fossil
#

Yeah fair enough - I guess it's personal preference at this point
Regardless, definitely definitely not worth blocking on, as long as the original origins and licensing are clear ๐ŸŽ‰ I guess we just need to pick any option