githubtraining / training-manual

Home of the words in the GitHub Training Manual and teaching scripts.
https://githubtraining.github.io/training-manual
Creative Commons Attribution 4.0 International
267 stars 266 forks source link

Fix devcontainer/Codespaces #378

Closed jessehouwing closed 1 year ago

jessehouwing commented 1 year ago

Moves to ubuntu-jammy Fixes #377

jessehouwing commented 1 year ago

That broke things. Can't spin up this repo on github codespaces:

2022-11-01 08:20:15.981Z: #12 5.106 Package httpie is not available, but is referred to by another package.
2022-11-01 08:20:15.981Z: #12 5.106 This may mean that the package is missing, has been obsoleted, or
2022-11-01 08:20:15.981Z: #12 5.106 is only available from another source
2022-11-01 08:20:15.981Z: #12 5.106 
2022-11-01 08:20:15.981Z: #12 5.109 E: Version '3.2.1' for 'httpie' was not found
parkerbxyz commented 1 year ago

Looks like https://github.com/githubtraining/training-manual/pull/378/commits/555cf5193fc6739445018afbf7ac3656dad94aa1 broke it by specifying the HTTPie version to appease the linter. Should be fixed now. Can you confirm?

jessehouwing commented 1 year ago

Yeah, no version fixes things.

parkerbxyz commented 1 year ago

Commit githubtraining/training-manual@1249f63 should have fixed the problem without removing the HTTPie version. Did you try it before removing the version?

jessehouwing commented 1 year ago

I did, computer still said no.

dzeyelid commented 1 year ago

Hello, Thank you for updating codespaces environment. I could update my devcontainer environment to Ubuntu jammy with these updates. I hope this can help you.

jessehouwing commented 1 year ago

Rebuilt the codespace from scratch by deleting it, works now!