Skip to content

Improve version checking to also check universe#1085

Merged
samalba merged 6 commits into
dagger:mainfrom
TomChv:feat/check-universe-version
Nov 8, 2021
Merged

Improve version checking to also check universe#1085
samalba merged 6 commits into
dagger:mainfrom
TomChv:feat/check-universe-version

Conversation

@TomChv
Copy link
Copy Markdown
Member

@TomChv TomChv commented Oct 29, 2021

TL;DR

  • Update checkVersion to also check universe.

Changes

In the future, universe will not be embedded anymore in dagger,
instead, it will be remotely vendor from dagger/universe repository.

To make sure that users always use the latest universe version, the
version checking now also verifies that universe is not outdated.
If universe needs an update, a message is printed to standard output.

In the future, universe will not be embedded anymore in dagger,
instead, it will be remotely vendor from `dagger/universe` repository.

To make sure that users always use the latest universe version, the
version checking now also verify that universe is not outdated.
If universe needs an update, a message is printed to standard output.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
@TomChv TomChv requested a review from samalba October 29, 2021 15:23
@TomChv TomChv self-assigned this Oct 29, 2021
@TomChv TomChv added go labels Oct 29, 2021
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
Dagger now compare the remote universe version with the one written
in dagger.mod.

I've also added logs to easily debug code

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 29, 2021

✔️ Deploy Preview for devel-docs-dagger-io ready!

🔨 Explore the source changes: c808f4e

🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/617c30bc0a9d230008deb97f

😎 Browse the preview: https://deploy-preview-1085--devel-docs-dagger-io.netlify.app

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
@samalba
Copy link
Copy Markdown
Contributor

samalba commented Nov 4, 2021

@TomChv is it still WIP?

@TomChv TomChv changed the title [WIP] Improve version checking to also check universe Improve version checking to also check universe Nov 4, 2021
@TomChv
Copy link
Copy Markdown
Member Author

TomChv commented Nov 4, 2021

@samalba No it's good 👍 , I forgot to update PR's name

@samalba samalba merged commit 6acc7e2 into dagger:main Nov 8, 2021
@samalba samalba deleted the feat/check-universe-version branch November 8, 2021 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants