Requirements for including a plugin in foreman-packaging

Hi everyone (@Odilhao),

I’m currently working on further development of the foreman_netbox plugin, potentially maintaining it as a fork with additional features and improvements.

I’d like to understand what requirements a Foreman plugin needs to meet in order to be included in the foreman-packaging project and have its Debian packages built and published in the official Foreman repository.

In particular, I’d be interested in the following:

  1. Technical requirements: Are there specific requirements regarding the plugin’s structure, dependencies, compatibility with Foreman versions, or packaging configuration?
  2. Maintenance and quality: Are there expectations regarding automated tests, CI pipelines, documentation, release management, or ongoing maintenance?
  3. Packaging process: What steps are required to add a new plugin to foreman-packaging and make its Debian packages available through the official Foreman repository?
  4. Forks and naming: If the plugin is a fork of the existing foreman_netbox plugin, are there any additional requirements or considerations regarding the plugin name, Ruby gem name, repository, or package name?
  5. Community approval: Is there a formal review or approval process, and who would be the right people to contact to discuss a potential inclusion?

My goal is to understand the expectations early on and make sure the fork is developed and maintained in a way that makes it suitable for inclusion in the official packaging ecosystem.

Any pointers to existing documentation, examples of recently added plugins, or advice from people who have gone through this process would be greatly appreciated.

Thanks in advance for your help!

I have seen you opened Request for maintenance status and PR guidance for Foreman 5 / NetBox 4.7 compatibility · Issue #115 · dm-drogeriemarkt/foreman_netbox · GitHub which is the way to go before any forking should happen.

And I think you are mostly missing the Debian packages. In GitHub - theforeman/foreman-packaging at deb/develop · GitHub you can find instructions and you can ask questions in a pull request or here if you need help.

Hey as I said in the Github Issue. The best idea would be to “migrate” the repository to theforeman. We have also done that to other plugins in the past.

1 Like

I would need some guidance on how to do that. And of course somebody of the theforman github org should have a look at it and approve it.