Create a ns8 repository for developers

Disclaimer: this is how to document for developers the way to create their repositories, For now I do not release in a private repository

Hello mates

there are ten years I opened my personal repository and the first things I did was to document the path to reproduce it. Few years later, well in real quite some long years after I was in Brussels and it was the first time that I met @mrmarkuz.

Beside a beer that we were sharing, waiting all the Nethservians team, I pushed markus to open his own repository and I am happy that he did it…my documentation has been used to spread the world about how to make a repository

This is what I would like to offer just a quick way to open your repo for NS8

A developer needs to decide what, when, and how a software must be released















after that you can create the repository by adding https://raw.githubusercontent.com/stephdl/ns8-nethforge/repomd/ns8/updates/

Of course you have to add you own module by adding a PR

this is the files you have to add inside a sogo folder

https://github.com/stephdl/ns8-nethforge/tree/main/sogo

7 Likes

to release go to the project repository of the app here ns8-sogo and add a new release with a tag



add a release like 1.0.0 for stable version and 1.0.0-dev.1 for testing version

set the latest release for stable or pre-release for dev

4 Likes

As always @stephdl is “Tha Man” with a large community hart!

1 Like

how does one define custom domain to this?

I presume a cname to https://raw.githubusercontent.com/stephdl/ns8-nethforge/repomd should work?

Reverse proxy or a redirect permanent should do the trick

i think we would also need to pripritize

As well as

I think I was Succesful in the endeavour
GenForge modules index for NS8 | ns8-genforge (https://forge.genius.ke/ns8/updates)

Hopefully it would make testing easier for community members.

I ran into this issue when setting up a custom domain
GitHub Pages resets custom domain for deployment every time I push to gh-pages · community · Discussion #22366 · GitHub

Luckily, seems the Neth team also got the same issue, and in the build script, replace the forge.nethserver.org domain with your own to resolve the issue.

2 Likes

Share the solution please and welcome to your personal repository

6 posts were merged into an existing topic: NS8-Paperless NGX Module

@stephdl could you kindly help me figure out why, no matter what i try to do, Joplin is not listing on my repo at all.

Sorry my cristal ball is broken I need some guidance. I do not know where to go

If you can’t fix it with duct tape, you’re not using enough duct tape!

if you are lazy and you want to display all modules in your repository

2 Likes

Ah Steph, where were you when i was creating my listings. this would have saved me hours.

I think i could still repurpose it for my listings, We have 47 Apps, and only like 10 listed

Thanks @stephdl

DO you have any idea, how we can populate the Github Stars automatically as well as seen here


in geniusdynamics/ns8-genforge: GenForge is where you can find extra modules built by the Genius Dynamics and its Employees for NethServer (github.com)

We get them through [GitHub Stars](https://img.shields.io/github/stars/penpot/penpot?style=social)](https://github.com/penpot/penpot)

I just recently get the need for a private repository, however my job is more to produce code to help than for doing thing I believe.

Yeah I get it, and this will definitely come in Handy for US, and many in the community.
I can see you really took your time to come up with this.

With python you could replace values inside a string

>>> name = "Jane"
>>> age = 25

>>> f"Hello, {name}! You're {age} years old."
'Hello, Jane! You're 25 years old.'

You could replace the string in the url by the name of the module if the name is relevant from the name of rhe project. It should be