Comments (6)
Hi Aline,
So mainly, what is needed is
- the debian/ directory to run dpkg-buildpackage which describe the content, copyright, technical build, and is the official way to built packages. The way it's done atm will not be accepted.
- a RFS(request for sponsorship)/ITP(intent to package) bug on Debian bugzilla because Ubuntu will just sponsor this bug in Debian and then will include it in Ubuntu (or include it straight away before Debian inclusion, but in any case, Ubuntu dev. will want a bug on Debian bugzilla first). This bug will ask to include the software in the Debian archive and the above tarball of the debian/ directory should be attached or provided on debian.mentors.net .
- as few patches as possible in the debian/patches directory : those patches are applied on top of
the software source to fix major issues or to comply with Debian/Ubuntu policy. These patches should be as minimal as possible and be upstreamed when possible. - provide all dependency packaging if some software used to build the package are not in the Debian/Ubuntu archive.
As you know, I've been working on the packaging of kimchi/ginger and now also on wok and gingerbase for debian and ubuntu.
kimchi 1.5.0 is actually already included in Ubuntu : https://launchpad.net/ubuntu/+source/kimchi and I'm pushing on debian side as well : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800966 .
I saw kimchi/wok is undergoing a redesign and I've created the packing for Debian/Ubuntu for wok/kimchi/gingerbase 2.0.0 last week.
It needs a bit of improvement but :
- I can provide debian/ packaging
- I can open ITP/RFS bugs missing, that is for gingerbase and wok which are new.
- patches are not big, but we can discuss what we can/cannot include upstream
- it should be ok; I saw you are now using sassc to build css from scss and packaged it for Debian and it got accepted already : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804697
Fred
from wok.
With the new version 2.1.0 of wok/kimchi/gingerbase, I updated my packaging.
I'm still having a few issues, which will prevent adoption of wok/related projects into Debian/Ubuntu
especially :
- relative URLS : original explanation of the need/policy : http://lists.ovirt.org/pipermail/kimchi-devel/2015-February/009840.html and some more details : http://lists.ovirt.org/pipermail/kimchi-devel/2015-March/009966.html
At the moment there are still a few resources (some fonts, images, urls) that are not found when relocating website to https://somehost/wok/ . - integration with the webserver : according to Debian policy which Ubuntu uses too, wok shouldn't start it's own webserver, but rather should integrate within the existing webserver and drop a conf file within the /etc/nginx/ configuration directory (see 5.1.2 : https://webapps-common.alioth.debian.org/draft/html/ch-httpd.html#s-httpd-register) . I understand that wok is a userfriendly app, which is
why it starts all it needs including the webserver, but Debian and Ubuntu's view is to build a whole
around the webserver. So wok should be startable without launching nginx. I have a patch, from Julien Goodwin : http://lists.ovirt.org/pipermail/kimchi-devel/2015-March/010025.html. It's just a variable that by default makes wok have the current behaviour and else disable launching of nginx, as
in Debian/Ubuntu there will already be an instance of nginx running on the server.
These are currently my main concern.
from wok.
Hello @frediz
In addition to your points, we also have the issue #97 - Debian's name for libvirt service is libvirtd instead of libvirt-bin used by Ubuntu.
Regarding your second point, I guess Julien Goodwin (@laptop006) can submit again a new patch where don't starts nginx (whithout the apache stuff) and then we can solve this issue.
IMO, the other points can be submitted again the RFC's and pacthes.
from wok.
I started to prepare debian packaging for debian upload
Fantu@c055f28
this is only partial for now...
in debian/control I tried to put all correct build-deps and deps but I have some questions/problems:
- there is python-m2crypto used by src/wok/sslcert.py (by fast grep) that seems still python2 but with python2 things I suppose will be rejected (next debian version will drop python2), can be checked and modified for python3 if needed please?
Edit: on #debian-devel confirmed that new packages with python2 will be not accepted - python3-jsonschema>= 3 for draft7 support but in debian repo is still not present :( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939943
- there are some dev requirement added with "sudo -H pip3 install -r requirements-dev.txt" based on docs, in debian repo I saw only https://packages.debian.org/source/sid/libsass and https://packages.debian.org/source/sid/cython but not pre-commit, are always needed?
Edit: from #debian-devel confirmed that is will be not accepted upload of packages not installable (including needed pip for install deps.)
debian/copyright need to be improved/completed (I mainly autogenerate it with decopy), without it with full and correct license list make package reject
I keeped debhelper to 11 (instead 12) to make possible use it also on older debian and ubuntu but probably with python3 deps very recent I suppose will be difficult
any help is appreciated, I'm doing some very fast thing because the time is too few and my python knowledge is almost nothing, sorry also for my bad english
from wok.
Hi @Fantu
Thank you for the initiative to get Kimchi into debian!
- there is python-m2crypto used by src/wok/sslcert.py (by fast grep) that seems still python2 but with python2 things I suppose will be rejected (next debian version will drop python2), can be checked and modified for python3 if needed please?
I will take a look on this.
- python3-jsonschema>= 3 for draft7 support but in debian repo is still not present :( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939943
Will it be added or not?
- there are some dev requirement added with "sudo -H pip3 install -r requirements-dev.txt" based on docs, in debian repo I saw only https://packages.debian.org/source/sid/libsass and https://packages.debian.org/source/sid/cython but not pre-commit, are always needed?
It is only for development purposes. We don't need to include them as part of the debian package.
debian/copyright need to be improved/completed (I mainly autogenerate it with decopy), without it with full and correct license list make package reject
I will take a look.
from wok.
small update: python-jsonschema 3 was prepared and uploaded into experimental today but blocked by python-pyrsistent dep missed in NEW queue since 7 months, after was reuploaded also python-pyrsistent without python2 part and I suppose will be acceptedbut I do not know when
from wok.
Related Issues (20)
- Missing "Virtualization" tab HOT 2
- Can't access the wok page. HOT 2
- Issues on Centos 7 Python 3.6
- Host Tab Missing HOT 2
- Can't get wok to work with kimchi in Ubuntu 20.04 HOT 10
- Ubuntu 20.04 - Cannot install Wok - Package 'python-m2crypto' has no installation candidate HOT 4
- kimchi on ubuntu 20 dependencies HOT 3
- ubuntu 20 no virtualization tab HOT 6
- kimchi-project / wok on non-systemd systems? HOT 1
- How does anyone get this working? HOT 4
- Fedora32: cant start wokd - ModuleNotFoundError: No module named 'Cheetah HOT 2
- fedora32 python3-pep8 is needed by wok-3.0.0-3.git25c5b2a8.fc32.noarch
- python-m2crypto in wok-3.0.0-0.ubuntu.noarch.deb HOT 3
- Virtualization tab does not show on CentOS 7 HOT 1
- Can't Nginx Reverse proxy Wok
- login as root was failure. the error message as "cannot determine user's tty "
- So I a, pretty new to all of this. However I got to install wok, I think and now I wanted to start wok but I get an error message
- Make .DEB = dependencies on old package names on Ubuntu Focal
- Package 'pyflakes' has no installation candidate
- cannot extend file '/var/lib/kimchi/isos/debian-12.5.0-amd64-netinst.iso': File too large
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wok.