ceph / ceph/ceph-medic

debian packaging is outdated

Open
#154 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Recent Debian and Ubuntu releases dropped py2 in favor of py3.

Current DEB packaging is building using py2 as follows:

`debian/control`
```
Build-Depends:
debhelper (>= 7),
dh-python,
python,
python-mock,
python-pytest,
python-remoto,
python-setuptools,
python-tambo
X-Python-Version: >= 2.7
```
```debian/rules```
```dh $@ --buildsystem pybuild --with python2```

Additionnally, running `lintian -EvIL +pedantic` revealed the following:
```
E: ceph-medic source: malformed-debian-changelog-version 1.0.7 (for non-native)
E: ceph-medic source: python-depends-but-no-python-helper ceph-medic

W: ceph-medic source: ancient-python-version-field x-python-version 2.7
W: ceph-medic source: ancient-standards-version 3.9.7 (released 2016-02-01) (current is 4.5.0)
W: ceph-medic source: odd-historical-debian-changelog-version 1.0.6 (for non-native)
W: ceph-medic source: package-uses-deprecated-debhelper-compat-version 7

I: ceph-medic source: debian-watch-file-is-missing
I: ceph-medic source: testsuite-autopkgtest-missing
I: ceph-medic source: vcs-field-uses-insecure-uri vcs-git git://github.com/ceph/ceph-medic.git

P: ceph-medic source: insecure-copyright-format-uri http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
P: ceph-medic source: rules-requires-root-missing

X: ceph-medic source: upstream-metadata-file-is-missing
```
Recent Debian/Ubuntu uses debhelper 12 or 13 and no longer required `debian/compat` (being the old debhelper way)

Contributor guide

Open the contributing guide

Research direction

Start with debian/control and debian/rules, then run the packaging build and the reported lintian command on a current Debian or Ubuntu environment. Review the Python 3, debhelper, standards-version, changelog, and metadata findings against the issue. Done means the package builds with current tooling and the relevant reported packaging issues are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, python
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.