Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Sculpt 24.10 #105

Open
jschlatow opened this issue Oct 8, 2024 · 2 comments
Open

Update to Sculpt 24.10 #105

jschlatow opened this issue Oct 8, 2024 · 2 comments

Comments

@jschlatow
Copy link
Member

For the upcoming Sculpt release, Goa's built-in archive versions need to be updated. In this issue, I am going to share and thereby document the update procedure.

Prerequisites

  • Before starting the update procedure, I need to make sure that my clones of the genode and genode-world repositories are up-to-date (i.e. point to the current master branch with the updated depot recipe hashes).
  • I also check whether Goa's branch for the current version (in this case 24.04) can be fast-forwarded to the master branch (or any reasonable state in between). This makes sure that users can seamlessly switch between Sculpt versions via goa update <version> and get the lastest compatible Goa state when executing, e.g., goa update 24.04.

Updating archive versions

  • For getting the updated archive versions, I use the goa archive-versions command in combination with the meta archive in my goa-projects repository.
  • In order to export the versions into a temporary file /tmp/current, I execute the following command:
goa-projects/$ goa -C meta/goa archive-versions --versions-from-genode-dir ~/repos/genode | column -t > /tmp/current
  • Next, I edit remove comments, the versions after # additional depot-archive versions from goarc and trailing whitespace.
  • Using vimdiff, I merge the file with share/goa/goarc from the Goa repository.

Testing

  • A brief test (by executing share/goa/lib/test.expect) should be run before staging any changes.
jschlatow added a commit that referenced this issue Oct 8, 2024
jschlatow added a commit that referenced this issue Oct 8, 2024
cproc added a commit to cproc/goa that referenced this issue Oct 11, 2024
@cproc
Copy link
Member

cproc commented Oct 11, 2024

Commit ee68200 removes the _drv suffix.

cproc added a commit to cproc/goa that referenced this issue Oct 11, 2024
@jschlatow
Copy link
Member Author

Commit ee68200 removes the _drv suffix.

Thanks for the fix!

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

No branches or pull requests

2 participants