Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create network-profile packages #7

Closed
aparcar opened this issue Jun 8, 2017 · 8 comments
Closed

create network-profile packages #7

aparcar opened this issue Jun 8, 2017 · 8 comments

Comments

@aparcar
Copy link
Member

aparcar commented Jun 8, 2017

I'm working on an image on demand server creating images based on various parameter.
A community parameter could auto integrate a network profile in the build image. The problem I'm facing right now is that there is no versioning of these profiles.
I came up with to solutions:

  • Use the git commit hash of a folder as version, if the installed hash is different to the current git, update the profiles. This is more like a work around
  • We could auto create packages of network profiles. These could be installed in a generic way and the package generator could increment a version counter whenever a profiles changes.

Ideas for a better solution?

@nicopace
Copy link
Member

nicopace commented Jun 9, 2017

I think @p4u can make a good opinion on this... don't despare, we are at BattleMesh and it is a little hard to have tickets updated this days ;)

@aparcar
Copy link
Member Author

aparcar commented Jun 9, 2017

There is no rush, please keep me updated 👍

aparcar added a commit to openwrt/asu that referenced this issue Jun 9, 2017
this is just a temporary solution until solution for [1] is found
[1]: libremesh/network-profiles#7
@aparcar
Copy link
Member Author

aparcar commented Jul 25, 2017

@p4u can you please have a look into this? I've been ask to supply all information about an image to make it reproducible

@aparcar
Copy link
Member Author

aparcar commented Oct 17, 2017

@p4u @ilario
with the new way to include packages in network profiles libremesh/lime-sdk@60e6109 and my need to implement this into the build-server openwrt/asu@03ca8a7 I'd like to push this issue again.
Creating packages out of the network-profiles would simplify updating to new profile versions, needed packages are set as a dependence. Re-installation after messing the configs would be possible as well.

I could create a "package-builder" and only the cooker/image-server must include a extra repo

@p4u
Copy link
Member

p4u commented Oct 18, 2017

I like the idea of having packages for profiles, it's actually very easy to implement.

If you like to do it, go ahead.

@aparcar
Copy link
Member Author

aparcar commented Nov 4, 2017

I created a simple script that builds all packages, I'll add a readme asap.
https://github.com/aparcar/network_profiles_builder
Currently the script builds every 15 minutes the packages here
https://betaupdate.libremesh.org/static/packages/profiles/
It should be possible to add the url above to the cooker, so network profiles are installable with adding np-libremesh-encrypt-11s to a flavor or in PACKAGES= var

@aparcar aparcar closed this as completed Nov 4, 2017
@p4u
Copy link
Member

p4u commented Nov 7, 2017

Great. Do you want to transfer this repository to the libremesh github organization? You would administrate it.

Also the reposotiry might be build on the official libremesh server and then included to the feeds.conf.default file of lime-sdk, so the profiles will be available out of the box.

@aparcar
Copy link
Member Author

aparcar commented Nov 7, 2017

that would be perfect. I just triggered the change of ownership. Still I'd need some more right within the team to actually push things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants