Registry Mirror
Skip to content

Publish microcks to apt-get package manager for installation on linux/debian based systems #153

Open

Description

@Harsh4902

Reason/Context

  • We can publish binary of our CLI tool to apt-get package manager for easy installation on linux/debian based systems.

Description

  • Currently, we are serving binaries from our releases and installing it using curl.
  • This thing can be enhanced for linux/debian based system by publishing it to the apt-get package manager.

Implementation ideas

No response

Activity

  1. Alokxk commented on Jun 1, 2025

    @Alokxk

    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

  2. Harsh4902 commented on Jun 1, 2025

    @Harsh4902
    MemberAuthor

    @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.

  3. Alokxk commented on Jun 1, 2025

    @Alokxk

    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

  4. Harsh4902 commented on Jun 2, 2025

    @Harsh4902
    MemberAuthor

    @Alokzh Okay, no problem.

  5. github-actions commented on Jul 3, 2025

    @github-actions

    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 ❤️

  6. added
    stale
    on Jul 3, 2025
  7. added
    keep-open
    kind/enhancement
    help wanted
    and removed
    stale
    on Jul 23, 2025
  8. added this to the 1.0.1 milestone on Jul 23, 2025
  9. 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
  10. modified the milestones: 1.0.1, Next on Nov 28, 2025
  11. lbroudoux commented on Nov 28, 2025

    @lbroudoux
    Member

    Postponing this to Next release

  12. self-assigned this
    on Jan 6, 2026
  13. Harsh4902 commented on Jan 6, 2026

    @Harsh4902
    MemberAuthor

    I am starting work on this issue.

  14. cotishq commented on May 3, 2026

    @cotishq
    Contributor

    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:

    1. Add a GoReleaser nfpm step to build the .deb artifact on every release
    2. Host a signed APT repo (using reprepro or aptly) — GitHub Pages works well for this
    3. 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.

  15. removed their assignment
    on May 3, 2026
  16. AishaRiaz-Dev commented on May 16, 2026

    @AishaRiaz-Dev

    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!

  17. AishaRiaz-Dev commented on May 16, 2026

    @AishaRiaz-Dev

    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!

  18. AishaRiaz-Dev commented on May 22, 2026

    @AishaRiaz-Dev

    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

  19. Vaishnav88sk commented on Aug 12, 2026

    @Vaishnav88sk
    Contributor

    I will look into it as we have to make a new release.

  20. modified the milestones: 1.0.3, Next on Sep 2, 2026
  21. yada commented on Oct 28, 2026

    @yada
    Member

    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.

  22. reopened this on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/buildhelp wantedkeep-openkind/enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions