Repository navigation
feat: bump cuemod - #2292
feat: bump cuemod#2292morlay wants to merge 1 commit into
Conversation
d13355f to
c7d48cb
Compare
|
Thanks @morlay!
|
76d47de to
3ce9801
Compare
This PR isn't about upgrading CUE, it's for using @morlay's cuemod tool for managing package dependencies. So this has to do with: |
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
de78364 to
00fea7d
Compare
|
@morlay What should we do with the PR? Do you plan to continue it or should we close it? |
7ebbab1 to
fee09c4
Compare
|
added # download dep
$ dagger get ./...
# upgrade to latest
$ dagger get -u ./... |
|
go 1.18 required because internal code of go std is from go 1.18 working binaries could be found https://github.com/morlay/dagger/releases/tag/latest |
4e5a16e to
fe3dd8e
Compare
Thanks for your reactivity! I think it's up to @helderco @aluzzardi @jlongtine to take this decision :D |
91e528d to
9f3e2a2
Compare
|
@helderco Assigning to you for review, to either close or approve. |
f382ff8 to
f07e1df
Compare
|
cuemod v0.5.0 added embed stdlib support. |
Signed-off-by: Morlay <[email protected]>
|
Hey @morlay, I'm sorry this took so long. There were other priorities, downtime and internal discussions delaying this. I'm closing for the same reasons as #2310 (comment), essentially. Specifically, the package management stuff is quite a bit in flux especially now. I tried drafting a plan for following CUE's proposal closely in small steps such that when the CUE team publishes their tool, we could just replace our stop-gap solution for theirs. There's a few things in cuemod not following that spec that would need fixing. On the other hand, by forking Go's internals you're able to take advantage of a lot of features from Go modules that we have in our "whishlist", since it's also CUE's proposal to mirror Go modules (with some exceptions). But there's also the maintainability aspect of it to consider, licensing issues, migrations, etc. The main concern though is that it's just a big dependency for us to have without a stronger comunity behind using it. We feel it's more sensible for us to accept incremental contributions to the plan we have, including to the plan itself, and have more control on the outcome. And as always, discussing design before implementation. As I said before, this plan is very much in flux right now. For one, we'll be loosening the requirement to match CUE's proposal so closely in favor of improving DX as much as possible. On another hand, we're exploring the possibility of offloading some of our CUE complexity to other languages (SDKs). This means you'd be able to write an action's implementation in Typescript (for example), in which case you'd use npm to manage your dependencies. It also means you still need a CUE package manager if you want to write actions with the CUE SDK, so the CUE package manager is no longer everything, but just one in several. I'd love if cuemod could fill the gap for CUE users until it gets replaced by CUE's official tool. Please keep improving the tool and gather user support behind it. You should already be able to use it with dagger for third-party CUE packages. This is what dagger actually needs:
For third party packages, you can use any system you want that puts those packages in Thanks for your effort contributing to dagger, we do appreciate it. Again, we're currently re-thinking our plan for package management in light of other initiatives we're starting, so for now, we need to have full control over |
spike for #2163
Now will automate to fetch dependencies if not exists, like go did.