You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at package yarn I see it imports universe.dagger.io/alpine, which is also needed for universe/aws and I imagine many others. So it seems to reason that universe/alpine should probably also be a reference package and be ported
Activity
aluzzardi commentedon Jan 7, 2022
Depends on coding style: #1360
aluzzardi commentedon Jan 7, 2022
/cc @samalba @jlongtine @talentedmrjones @grouville @TomChv
Please take a look at https://github.com/dagger/dagger/tree/main/europa-universe, especially:
netlify: https://github.com/dagger/dagger/blob/main/europa-universe/netlify/netlify.cueyarn: https://github.com/dagger/dagger/blob/main/europa-universe/yarn/yarn.cueWe're going to use these as references to port the entire universe. If you have comments/questions/suggestions, now's a great time to contribute.
TomChv commentedon Jan 7, 2022
I have questions about coding style and convention but I think it's relative to #1360.
Indeed, I saw several difference between
yarnandnetlify, which one should we follow?There are also similarities, so is it relevant to create a generic definition for all components?
For example
As well, what about private field? I thought it wasn't working but I still see some in
netlifypackagetalentedmrjones commentedon Jan 7, 2022
I suggest taking a cue from Go (sorry couldn't resist):
engine.#Build)_#inputSecret)#for schemas (may include concrete defaults)let x) for immediate block scopeshykes commentedon Jan 10, 2022
@TomChv @talentedmrjones can you contribute ideas on coding style to #1360 so we don’t lose track of them please?
talentedmrjones commentedon Jan 14, 2022
Looking at
package yarnI see it importsuniverse.dagger.io/alpine, which is also needed foruniverse/awsand I imagine many others. So it seems to reason thatuniverse/alpineshould probably also be a reference package and be portedaluzzardi commentedon Jan 25, 2022
We now have:
yarn, simple package with inlined scriptnetlify, with code embeddingalpine, which is nestable insidedocker.#BuildPretty good set of reference packages.
I'm in favor of closing this issue.
@shykes @talentedmrjones @samalba agreed?
talentedmrjones commentedon Jan 25, 2022
Agreed. And we'll soon have
awsas well