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
Packaging: Provide native packages for Debian & Ubuntu #2393
Comments
As per the Gitter chat @dansou901 said he is able to start working on this later this year. |
@dansou901 Do you think you will be able to progress this? Or shall someone else take over? What is your desire in this regard? |
I still want to do this, sadly I didn't find the time yet to do so. But I will have at least one more week of holidays this year, then I'll start on this for sure. |
Thanks a billion times! I will try to integrate the openSUSE OBS so you don't have to worry about dependencies and building. |
I already did some digging around and try to figure out the best way of doing this. I'm still quite new to debian packaging as I never packaged something as big as cobbler. What I found is that the openstack did debian builds way back until version 2.6.6. So to get the current version into debian, we would need to inherit their responsibility for the cobbler package which should be orphaned by now. At least that's the current state of cobbler in debian. |
@dansou901 The way of getting this on the SUSE side is just to ask nicely on the appropriate mailing list. Thus I believe a mail and updating to the latest version is the thing to to. If you somehow see a showstopper, I would be glad to help you... |
It's much more complicated on debian, see the following document: https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html. They have a special issue tracking system to ask for including packages on which you have to follow a specific route to have your package added. The package also needs to meet specific requirements. It's all listed in the link above. |
Thanks. I will have a look. Maybe we can split the work so it gets easier for both of us! |
Since I broke |
@dansou901 Do you have an update on this? |
I'm sorry for the late answer. Currently, we are discussing internally which tools we want to use in the future to administer our systems. This will take a while. It's a possibility that we will drop the usage of cobbler in favor of something different, but that's not clear yet. As soon as it is, I will have a look at this again. |
@dansou901 Thanks a lot! If you decide to replace Cobbler I would love to know which solution won over Cobbler. I would love to make it better for other people, so the community gets bigger in the future. |
I will. Right now, we are starting to bootstrap our new configuration management infrastructure, so setting up a new install server will be part of that. As soon as I have more news, I'll check back in here. |
@dansou901 Any news on this? |
I'm still busy setting up the new environment in our infrastructure, I'll be evaluating options for an install server this or next week. |
@dansou901 Don't hesitate to ask for features. I have a strong interest in this contribution and thus I am willing to invest in your company with a feature that you would desire. It is my free time so don't expect wonders but I'll do my best. :) |
The main thing missing right now for me is the missing web interface. |
Also nice would be a way to provision a machine automatically via cobbler, in a way that cobbler powers on the machine and installs it in one go (maybe that's already possible today) |
@dansou901 The second thing is possible. There is an autoregister feature available already. Although untested. In regard to the Web Interface: I am on it. A lot of things have been progressed by me. Once I have fixed the Uyuni Integration I will take vacation to implement the Web Interface. |
Sounds good. Do you have an estimate on when the Web interface will be done? |
@dansou901 I will sit down tomorrow and create one. The API Client and Fronted both have rudimentary functions but it is definitely not ready. |
@dansou901 Any updates? I CC'd you in the project plan I have for the WebUI. |
@dansou901 I will start working on this. If you have comments on the old data I found or any helpful links I would be very happy. Any help is appreciated! |
@dansou901 I have something working! The PR is not yet ready but I would really appreciate your comments on the draft if you have time! |
Saw what you did, looking good so far. But you said lintian is quite unhappy with the current state, maybe I can help with that. I've got some experience working around lintian problems. Do you have an output of what lintian disapproves of? |
Something else, do you have plans already for where to push the finished packages to when they are done? |
Also just left a comment for one small thing in the pull request. |
@dansou901 So my current knowledge of Debian packaging is limited to the last 5 hours. So I haven't thought about pushing it to Debian & Ubuntu, although I would really love if that is possible. If that is not possible or too much work, I would try to attach the RPMs and DEBs for a release along to the GitHub Release and then additionally building them in my home project in the OBS to be able to provide a repository. However all of that requires time after I got the packaging working in the CI we run here. Lintian is basically unhappy about the following two rules:
Apart from that I only see warnings that I would ignore for the moment. |
Both of them shouldn't be hard to fix. The first one is a design question: Do we want to point to /var/www as DocumentRoot or do we want to change that? How will such a change affect updates / migrations from previous versions? If we do not want to change that, we need to add a lintian override. |
Apart from building the debs in your OBS home project, I would rather propose to create a ppa at launchpad. That would be the fastest way to get the packages to people. As soon as we have those there, we can still try to figure out how to get them included in the main repositories. |
Okay then let's do it exactly like you proposed. It is one place more for me but that isn't a problem. I already have an account at Launchpad. In regard to the warnings and errors of lintian: I will call it a day for now but I will try to sit down on Sunday to get the things in order. The heat make concentration hard. Especially the document root change needs to be done properly. Doing that cross-distro will be an interesting challenge. |
If we do the document root change cross-distro, maybe it's a good idea to point that to one directory for all distros to make it easier. Just as an idea. |
That would be indeed cool. I will dig into that. We would save ourselves quite some configuration variables and logic in quite many places... |
Is your feature request related to a problem?
Currently we only provide packages for Debian and Ubuntu via Debbuild. This is good for test installations or users how know the OBS already and are familiar with it.
The Behaviour you'd like
apt install cobbler
Alternatives you've considered
Well the OBS is nice and all but in the end we will probably have more users when providing Distro-Native packages. Also we will have a simpler specfile.
Additional context
Current OBS project in my home: https://build.opensuse.org/project/show/home:SchoolGuy:cobbler
The text was updated successfully, but these errors were encountered: