SYNO-packages icon indicating copy to clipboard operation
SYNO-packages copied to clipboard

Is it possible to add your packages as a repository on my NAS?

Open marcofranssen opened this issue 5 years ago • 4 comments

Is it possible to add your packages as a repository to my NAS or can I only do the manual downloads?

marcofranssen avatar Oct 07 '20 11:10 marcofranssen

No you have to download it and do a manual install. I don't have a server to host a repository, so I use github for the distribution.

BenjV avatar Oct 07 '20 11:10 BenjV

Maybe you can utilize github pages to act as a repository. I have done same with K8s Helm packages for example.

Just publish the packages in github pages using the required folder structure. You can automate this using Github actions.

marcofranssen avatar Oct 07 '20 11:10 marcofranssen

Do you have a link to that so I can have a look what has to be done?

I it not a big deal because all the packages I made do updates by themselves, so normally I almost never have to publish updates.

BenjV avatar Oct 07 '20 12:10 BenjV

will share the blog I followed as a starting point as the repo is private.

https://dev.to/jamiemagee/how-to-host-your-helm-chart-repository-on-github-3kd

Basically you add an action that commits some files into a gh-pages branch whenever you tag a commit with a version. I'm not sure what file/folder structure is required for synology repositories. Neither if there is some metadata.json or something like that required. Also that could be generated in such action using bash.

marcofranssen avatar Oct 07 '20 12:10 marcofranssen