Page MenuHomePhabricator

Reduce amount of Tools-local packages
Closed, ResolvedPublic

Description

A full list of aptly/tools-local packages is available here: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Admin/local_packages

Packages not packaged elsewhere:

Packages already packaged for other releases:

PackageUbuntu Precise BackportsUbuntu TrustyUbuntu Trusty BackportsUbuntu UtopicUbuntu VividDebian Jessie
python-socketio-clientRequestXXXX
python-websocketXXXXXX

The process to request backports in Ubuntu is described here.

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: Toolforge.
yuvipanda added subscribers: scfc, Aklapper, coren, yuvipanda.
scfc triaged this task as Low priority.Apr 6 2015, 7:30 AM
scfc moved this task from Backlog to Ready to be worked on on the Toolforge board.
scfc set Security to None.
scfc renamed this task from Reduce amount of tools-local packages to Reduce amount of Tools-local packages .May 24 2015, 11:58 PM
scfc updated the task description. (Show Details)

@yuvipanda, you added sbt to toollabs::dev_environ with d90368777c67f40c35e59cd7f5a5b898dbff89cb:

Toollabs: Add sbt to dev environments

Scala Build Tool, for anyone who wants to build scala things

Was there actual user demand for that, or could we just drop it?

I have moved /data/project/.system/deb-trusty/python3-statsd_3.0.1-1_all.deb and /data/project/.system/deb-{precise,trusty}/python-websocket-client_0.23.0-1_all.deb to ~tools.admin/archived-packages/ as they were not referenced by Puppet manifests.

I have also moved /data/project/.system/deb-{precise,trusty}/python-backports.ssl-match-hostname_3.4.0.2-1_all.deb to ~tools.admin/archived-packages/ as it was not referenced by Puppet manifests.

@yuvipanda, you have also added python-sh with 5a715f8069bcf649410801143c97c89cf29fb0ac:

tools: Add python-sh package to exec_environ

Package built and deployed to local repo

Was that due to user demand?

Yes, python-sh was used for one of my own tools (Such A Bot) but it uses a virtenv now so can be killed.

scfc added a subscriber: Legoktm.

@yuvipanda, what about sbt?

python-celery-with-redis is a "bundle" that "installs the following packages: ['celery>=3.0,<4.0', 'redis>=2.4.4']". However, if those specific versions were indeed wanted, they wouldn't be fulfilled by the current package as it just requires python-celery and python-redis unconditionally.

As Debian is very careful to stay backwards-compatible and we already require the packages python-celery and python-redis (via ::redis::client::python) in exec_environ.pp, I think that package should just be removed from Puppet and subsequently archived.

Change 213777 had a related patch set uploaded (by Tim Landscheidt):
Tools: Do not require redundant package python-celery-with-redis

https://gerrit.wikimedia.org/r/213777

Change 213777 merged by Yuvipanda:
Tools: Do not require redundant package python-celery-with-redis

https://gerrit.wikimedia.org/r/213777

Change 213849 had a related patch set uploaded (by Tim Landscheidt):
Tools: Do not require package python-sh

https://gerrit.wikimedia.org/r/213849

Ha! I got confused by my own clean-up: python-socketio-client depends on python-websocket-client which depends on python-backports.ssl-match-hostname. So one more package for backporting.

Change 213849 merged by Yuvipanda:
Tools: Do not require package python-sh

https://gerrit.wikimedia.org/r/213849

Change 238662 had a related patch set uploaded (by Tim Landscheidt):
Tools: Source python-socketio-client for Trusty from backports

https://gerrit.wikimedia.org/r/238662

Change 238662 abandoned by Tim Landscheidt:
Tools: Source python-socketio-client for Trusty from backports

Reason:
Backports are now enabled on all Labs instances.

https://gerrit.wikimedia.org/r/238662

pywikibot no more support oursql, it has been replaced by PyMySQL which is available on toolforge. Probably the local oursql package can be removed.