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
{{ message }}
Publish microcks to apt-get package manager for installation on linux/debian based systems #153
Hello @Harsh4902 !
I think there is 2 step involved i.e Generating .deb packages & then hosting .deb packages so users can run sudo apt install microcks-cli. I just wanted to ask should I work on generating .deb packages which would allow users to install with something like this command sudo dpkg -i microcks-cli_version_linux_amd64.deb.
I am not 100% sure about how to publish to package managers
Please correct me if I am missing something or do not understand the issue
@Alokzh Yes, you are right. But here, generating a .deb package is not a headache. We want to publish it so people can directly install it using apt install command.
Totally makes sense @Harsh4902
Since I'm quite new to this, also I have my GSoC Project so I'll not waste your time
This seems to be interesting one so I'll definitely try to read more about it
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
changed the title [-]Publish `microcks-cli` to `apt-get` package manager for installation on linux/debian based systems[/-][+]Publish `microcks` to `apt-get` package manager for installation on linux/debian based systems[/+]on Jul 23, 2025
Hey @Harsh4902
I've been looking into this and wanted to share a possible approach:
For apt install support, the cleanest path IMO is hosting a self-managed APT repository (e.g., via GitHub Pages or a cloud bucket) and distributing a signed .deb package through it. The flow would roughly be:
Add a GoReleaser nfpm step to build the .deb artifact on every release
Host a signed APT repo (using reprepro or aptly) — GitHub Pages works well for this
Users add the repo once via curl | sudo tee /etc/apt/sources.list.d/microcks.list, then sudo apt install microcks on every subsequent update
This avoids the overhead of getting into official Debian/Ubuntu repos (which involves an ITP process and Debian maintainership) while still giving users a clean apt install UX.
Are you planning to go this route, or is there a different direction being considered? Happy to help you if you are still working on it.
Hi @lbroudoux and team!
I am a Software Engineering student currently applying for the LFX Mentorship 'Microcks: CLI v2 – VS Code Integration' project. I've read through the thread and completely see your point—while building the .deb binary artifact via GoReleaser is straightforward, the real challenge here is establishing a reliable, automated hosting infrastructure for the Debian package repository index.
I would love to tackle this infrastructure setup. We could explore configuring a GitHub Actions workflow that pushes the generated packages and updates the Packages.gz index to a dedicated static hosting environment (like GitHub Pages or an OCI registry using GitHub Packages), making it seamlessly accessible for apt-get updates.
Could you please assign this issue to me so I can begin drafting an infrastructure proposal/workflow for this? Thank you!
This is an incredibly thorough breakdown @cotishq !
I completely agree that utilizing tools like reprepro or aptly alongside GitHub Pages for hosting a signed APT repository is the most efficient, overhead-free path forward for a clean apt install UX.
I would love to collaborate on setting up this exact pipeline workflow, writing the automation scripts, and helping test the local verification loops for the Debian/Ubuntu configurations. Let me know how the team prefers to split the implementation tasks!
I have successfully validated the pipeline: it automatically generates the package, indexes it via aptly, and publishes it to GitHub Pages with the necessary configurations (including .nojekyll and path mapping) to ensure a clean apt install experience.
I am ready to port this workflow into the main microcks-cli repository. Would you prefer I open a PR directly, or would you like to review the workflow logic in my prototype repo first?
🌐 Verify the Prototype Locally
To quickly verify the signature handshakes and binary pull execution end-to-end on a clean Debian/Ubuntu target, you can test the layout with this block:
Reopening: #501 (merged as e1bf9a8) adds deb and rpm packages to the release artifacts, but the issue asks for publication to an apt repository so that users can apt-get install microcks. That part is not done yet.
Disclosure: this comment was drafted with AI assistance.
Activity
Alokxk commentedon Jun 1, 2025
Hello @Harsh4902 !
I think there is 2 step involved i.e Generating
.debpackages & then hosting.debpackages so users can runsudo apt install microcks-cli. I just wanted to ask should I work on generating.debpackages which would allow users to install with something like this commandsudo dpkg -i microcks-cli_version_linux_amd64.deb.I am not 100% sure about how to publish to package managers
Please correct me if I am missing something or do not understand the issue
Harsh4902 commentedon Jun 1, 2025
@Alokzh Yes, you are right. But here, generating a
.debpackage is not a headache. We want to publish it so people can directly install it usingapt installcommand.Alokxk commentedon Jun 1, 2025
Totally makes sense @Harsh4902
Since I'm quite new to this, also I have my GSoC Project so I'll not waste your time
This seems to be interesting one so I'll definitely try to read more about it
Harsh4902 commentedon Jun 2, 2025
@Alokzh Okay, no problem.
github-actions commentedon Jul 3, 2025
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience ❤️
[-]Publish `microcks-cli` to `apt-get` package manager for installation on linux/debian based systems[/-][+]Publish `microcks` to `apt-get` package manager for installation on linux/debian based systems[/+]lbroudoux commentedon Nov 28, 2025
Postponing this to
NextreleaseHarsh4902 commentedon Jan 6, 2026
I am starting work on this issue.
cotishq commentedon May 3, 2026
Hey @Harsh4902
I've been looking into this and wanted to share a possible approach:
For
apt installsupport, the cleanest path IMO is hosting a self-managed APT repository (e.g., via GitHub Pages or a cloud bucket) and distributing a signed.debpackage through it. The flow would roughly be:nfpmstep to build the.debartifact on every releaserepreprooraptly) — GitHub Pages works well for thiscurl | sudo tee /etc/apt/sources.list.d/microcks.list, thensudo apt install microckson every subsequent updateThis avoids the overhead of getting into official Debian/Ubuntu repos (which involves an ITP process and Debian maintainership) while still giving users a clean
apt installUX.Are you planning to go this route, or is there a different direction being considered? Happy to help you if you are still working on it.
AishaRiaz-Dev commentedon May 16, 2026
Hi @lbroudoux and team!
I am a Software Engineering student currently applying for the LFX Mentorship 'Microcks: CLI v2 – VS Code Integration' project. I've read through the thread and completely see your point—while building the .deb binary artifact via GoReleaser is straightforward, the real challenge here is establishing a reliable, automated hosting infrastructure for the Debian package repository index.
I would love to tackle this infrastructure setup. We could explore configuring a GitHub Actions workflow that pushes the generated packages and updates the Packages.gz index to a dedicated static hosting environment (like GitHub Pages or an OCI registry using GitHub Packages), making it seamlessly accessible for apt-get updates.
Could you please assign this issue to me so I can begin drafting an infrastructure proposal/workflow for this? Thank you!
AishaRiaz-Dev commentedon May 16, 2026
This is an incredibly thorough breakdown @cotishq !
I completely agree that utilizing tools like reprepro or aptly alongside GitHub Pages for hosting a signed APT repository is the most efficient, overhead-free path forward for a clean apt install UX.
I would love to collaborate on setting up this exact pipeline workflow, writing the automation scripts, and helping test the local verification loops for the Debian/Ubuntu configurations. Let me know how the team prefers to split the implementation tasks!
AishaRiaz-Dev commentedon May 22, 2026
Hi @lbroudoux and @cotishq,
Following our discussion, I have completed a fully functional, automated prototype for the APT repository infrastructure.
You can see the live implementation here: https://aishariaz-dev.github.io/microcks-cli-apt-test/index.html
I have successfully validated the pipeline: it automatically generates the package, indexes it via aptly, and publishes it to GitHub Pages with the necessary configurations (including .nojekyll and path mapping) to ensure a clean apt install experience.
I am ready to port this workflow into the main microcks-cli repository. Would you prefer I open a PR directly, or would you like to review the workflow logic in my prototype repo first?
🌐 Verify the Prototype Locally
To quickly verify the signature handshakes and binary pull execution end-to-end on a clean Debian/Ubuntu target, you can test the layout with this block:
1. Add the prototype repository layout definition
echo "deb [trusted=yes] https://aishariaz-dev.github.io/microcks-cli-apt-test/ stable main" | sudo tee /etc/apt/sources.list.d/microcks-test.list
2. Update local package indexes and fetch the target component
sudo apt-get update
sudo apt-get install microcks-cli-mock
Vaishnav88sk commentedon Aug 12, 2026
I will look into it as we have to make a new release.
build: add nfpms config to generate deb and rpm packages (#501)
yada commentedon Oct 28, 2026
Reopening: #501 (merged as
e1bf9a8) adds deb and rpm packages to the release artifacts, but the issue asks for publication to an apt repository so that users canapt-get install microcks. That part is not done yet.Disclosure: this comment was drafted with AI assistance.