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

Automated publishing to Chocolatey #8252

Closed
Tracked by #8343
lidel opened this issue Jul 8, 2021 · 2 comments
Closed
Tracked by #8343

Automated publishing to Chocolatey #8252

lidel opened this issue Jul 8, 2021 · 2 comments
Assignees
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/maintenance Work required to avoid breaking changes or harm to project's status quo P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked topic/windows Windows specific
Milestone

Comments

@lidel
Copy link
Member

lidel commented Jul 8, 2021

We cleaned up and deduplicated packages on Chocolatey:

Remaining work is to set up automatic publishing so go-ipfs package is kept up to date.

Prior art:

@lidel lidel added help wanted Seeking public contribution on this issue topic/windows Windows specific status/ready Ready to be worked P2 Medium: Good to have, but can wait until someone steps up kind/maintenance Work required to avoid breaking changes or harm to project's status quo exp/intermediate Prior experience is likely helpful effort/hours Estimated to take one or several hours labels Jul 8, 2021
@BigLep BigLep added this to the go-ipfs 0.10 milestone Jul 12, 2021
@lidel
Copy link
Member Author

lidel commented Jul 23, 2021

Some notes:

  • docs and tools at https://docs.chocolatey.org/en-us/create/automatic-packages suggest use of powershell tooling
    • bit incompatible with my brain, examples and docs feel way overengineered for our use case: we only want to update binaries in existing package, bump hash and version and publish it.
  • latest .nupkg can be downloaded from https://community.chocolatey.org/api/v2/package/go-ipfs
    • it is in ZIP format, can be unzipped and we get .nuspec and binaries inside
    • updating binaries + bumping version and recalculating hashes should be doable with a few lines of bash in CI workflow
    • then, choco pack followed by choco push (with API key as a repo secret) should do the trick

@BigLep BigLep mentioned this issue Jul 29, 2021
18 tasks
@BigLep BigLep modified the milestones: go-ipfs 0.10, go-ipfs 0.11 Sep 2, 2021
@lidel lidel self-assigned this Oct 1, 2021
@lidel
Copy link
Member Author

lidel commented Oct 5, 2021

Done!

@lidel lidel closed this as completed Oct 5, 2021
@guseggert guseggert mentioned this issue Nov 23, 2021
80 tasks
@BigLep BigLep moved this to Done in IPFS Shipyard Team Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort/hours Estimated to take one or several hours exp/intermediate Prior experience is likely helpful help wanted Seeking public contribution on this issue kind/maintenance Work required to avoid breaking changes or harm to project's status quo P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked topic/windows Windows specific
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants