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

place for XCP-ng Center to host update.xml #36

Open
borzel opened this issue May 15, 2018 · 15 comments
Open

place for XCP-ng Center to host update.xml #36

borzel opened this issue May 15, 2018 · 15 comments

Comments

@borzel
Copy link
Member

borzel commented May 15, 2018

@olivierlambert can you please

  • create a place for XCP-ng Center to host it's update.xml and other release files?
    or
  • let a subdomain like center.xcp-ng.org point to my server?
    or
  • get in touch with me to find a good solution

Background: I dont want to implement the updatesystem for XCP-ng Center (permanently) based on github. For privacy and other reasons.

@stormi
Copy link
Member

stormi commented Sep 21, 2018

Hi! Do you still need such a place? I think we could upload files to a subdirectory of https://updates.xcp-ng.org/ if @olivierlambert agrees, or somewhere else.

@olivierlambert
Copy link
Member

Because our update system is vastly different than Citrix, I don't see that's still relevant. XCP-ng Center should rely on our XAPI update plugin.

@stormi
Copy link
Member

stormi commented Sep 21, 2018

I thought that was for updating XCP-ng Center, not XCP-ng itself.

@borzel
Copy link
Member Author

borzel commented Sep 21, 2018

yes, the need is present. it's for updating XCP-ng Center itself.

@olivierlambert how should this work? Update XCP-ng per yum and then download the new update from the xcp-ng host? the current update system just needs a xml-file (https://github.com/xcp-ng/xenadmin/blob/master/updates.xml) and a place to download the released software.

@olivierlambert
Copy link
Member

Oh okay I thought it was for updating XCP-ng hosts. Why not having directly checking the XML on GitHub? This would be easier for you :)

@borzel
Copy link
Member Author

borzel commented Sep 21, 2018

read in my initial text:

Background: I dont want to implement the updatesystem for XCP-ng Center (permanently) based on github. For privacy and other reasons.

@olivierlambert
Copy link
Member

I'm not sure to understand? It's just a XML with numbers right? I probably don't get it, can you develop? The great thing about getting it on GitHub is there is no need to synchronize anything else than merging/pushing to modify the file and that's it.

I mean I'm not against hosting it on xcp-ng.org, but this will require extra work to have something sync with this repo anyway.

@borzel
Copy link
Member Author

borzel commented Sep 22, 2018

Of course its easier. Currently that's the way it works. Not a big problem at all.

The only downside is that github can now "see" how many connections are made to that xml file. Every XCP-ng Center Host that checks for update connects to this file on a regular basis. Users can turn this check off, but I thought we can provide an alternative to it, so that Github is not collecting metadata from our updatingsystem.

I could also host this file on my own webserver, but an update url with xcp-ng.org in it would be better :-)

There is no need to have this file in Github.

@borzel borzel changed the title place for XCP-ng Center to host update.xml and release files place for XCP-ng Center to host update.xml Sep 22, 2018
@olivierlambert
Copy link
Member

olivierlambert commented Sep 22, 2018

No, update requests for XCP-ng Center are only coming from your XCP-ng Center client. Not the host. So it's only coming from your current Windows OS where you installed the client.

XCP-ng updates rely on the repository file content inside /etc/yum.repos.d/xcp-ng.repo, which today target updates.xcp-ng.org domain.

@borzel
Copy link
Member Author

borzel commented Sep 22, 2018

your are right, I meant XCP-ng Center Host... not the Server itself... was a typo ✍️

@borzel
Copy link
Member Author

borzel commented Sep 22, 2018

To sum up what was my goal: to geht a place where I can "upload" the xml file for updating purposes to keep the url's used in this project to one main domain and not relying on github for that.

Reasons:

  • Github should not be able to collect metadata from our users
  • keep the updating url clean

I understand that it is the easy way to keep the file on Github (because of that I do this currently).

I just wanted to have this discussed/overthought/guided. Maybe there is another option? Turn off the updating thing completely in XCP-ng Center? Create a subdomain like center.xcp-ng.org which I can controll/fill with data on my own?

@olivierlambert
Copy link
Member

olivierlambert commented Sep 22, 2018

I can try to have a CRON-like script that fetch the files from GitHub every day so when a new version is available, it will be automatically copied on XCP-ng URL.

edit: I understand now your privacy question, sorry it wasn't clear for me in the first place

@borzel
Copy link
Member Author

borzel commented Sep 22, 2018

cron would be fine :-)

good that we are able to clear our communication problems with the help of normal human interaction ;-)

@olivierlambert
Copy link
Member

Haha yes, we are totally humans behind screen, typing with our human hands

P.S: we are totally not 🤖

@borzel
Copy link
Member Author

borzel commented Sep 22, 2018

Rrrrrrobotttt ;-)

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

No branches or pull requests

3 participants