Re: Bug#790685: ITP: python-conditional -- conditionally enter a context manager
On Tue, 30 Jun 2015 17:35:46 -0400 Sandro Tosi wrote: > at work we use it, so why not package it properly instead of keeping a > private deb? If I had upstream code which needed this support, I'd just embed it into the project and update the copyright instead of having a package for 18 lines in the first place. It's very generic and trivial python, it just doesn't seem worth the overhead of adding the dependency to setup.py and pydist-overrides, ensuring that the package gets backported to jessie etc. likely to find that a bit down the road we'd need to extend it a little bit more which would be a lot easier to do with the code not being a package. I wouldn't have thought it would be worthwhile to put through NEW, to be honest. In fact, even if the package existed in Debian, I'd expect other projects to simply implement the functionality inside a larger class instead of doing an import anyway. It's not as if there's anything truly innovative in the code which would be identifiable as an embedded copy. It's a (trivial) snippet, albeit interesting. However, I've used larger code samples from stackoverflow as the basis for changes to fix bugs before now. I wouldn't be surprised to find something this small in the documentation of a larger package (like django). Embedding is a problem when the code is of an appreciable size or complexity - this code doesn't qualify on either count. Isn't there a library into which this can be included instead of wasting mirror space on the whole packaging overhead? (Listing in Packages.gz, Contents.gz, mirrors, packages.debian.org and /var/cache/apt/ etc.) Or just add it to a utils.py in the project which uses it? -- Neil Williams = http://www.linux.codehelp.co.uk/ pgpARhqONBy2P.pgp Description: OpenPGP digital signature
Bug#790723: ITP: redmine-plugin-local-avatars -- Redmine plugin to add local avatar support
Package: wnpp Severity: wishlist X-Debbugs-CC: debian-devel@lists.debian.org Package name: redmine-plugin-local-avatars Version: 1.0.0 Upstream Author: Andrew Chaika, Luca Pireddu License: GPL-2+ URL: https://github.com/ncoders/redmine_local_avatars Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/redmine-plugin-local-avatars.git Description: Redmine plugin to add local avatar support This plugin allows Redmine users to upload a picture to be used as an avatar (instead of depending on images from Gravatar). . Users can set their image through the /my/account page. The administrator can also manage users' avatars through the /users section. -- Cheers, Dmitry Smirnov. signature.asc Description: This is a digitally signed message part.
Re: Bug#790685: ITP: python-conditional -- conditionally enter a context manager
On Wed, Jul 01, 2015 at 08:14:56AM +0100, Neil Williams wrote: > If I had upstream code which needed this support, I'd just embed it > into the project and update the copyright instead of having a package > for 18 lines in the first place. Without really wishing to weigh in on whether it should be in Debian (given an upstream that uses it, I can see it being reasonable for a Debian maintainer to package it rather than patch away its use), I recently implemented this elsewhere as the equivalent of: import contextlib if condition: context = ... else: # A no-op context manager. context = contextlib.contextmanager(lambda: (None for _ in [None]))() with context: ... If you can use Python >= 3.3 (in the code in question this is sadly still some way off), then you can simplify this using contextlib.ExitStack: import contextlib with contextlib.ExitStack() as stack: if condition: stack.enter_context(...) ... The important feature of any of these approaches is to avoid duplicating the body of the "with" statement. -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150701085118.ga21...@riva.ucam.org
Re: preparing for GCC 5, especially libstdc++6
On 06/26/2015 03:01 AM, Emilio Pozuelo Monfort wrote: > On 25/06/15 17:44, Matthias Klose wrote: >> On 06/25/2015 01:20 PM, Matthias Klose wrote: >>> On 06/25/2015 11:23 AM, Emilio Pozuelo Monfort wrote: >>>> - You suggest that some libraries may need to be renamed due to the ABI >>>> breaks. >>>> Do you have a list of affected libraries? >>> >>> No. Getting this list is a bit difficult. Candidates for these packages are >>> the >>> GCC 5 build failures due to mismatched symbols files. However there may be >>> more >>> packages which successfully build, but have additional symbols (this may be >>> an >>> empty set, because usually some symbol names should be just replaced by new >>> ones). >> >> If symbol versioning is used in a library, you probably won't see this at >> all, >> until the package is built using GCC 5. I'll ask for another test rebuild >> with a >> diverted dpkg-gensymbols to look at the generated symbols files. > > Thanks Matthias. I'd be very interested in knowing more about what breaks. We have 361 C++ libraries which define at least one of these new symbols [1]. Note this list only includes the packages which succeed to build with GCC 5. Another 70 packages might need the same action (the issues at [2] with severity important, which fail during the dpkg-gensymbols call). So my proposal would be to file bug reports for each of these packages, asking the maintainers for what to do with this library. Actions could be: - do nothing, if none of these symbols are part of the library ABI. That would be a rebuild of the library and its reverse dependencies. - add breaks to all reverse dependencies on this library, and rebuild the library and the reverse dependencies. - rename the library package and rebuild all reverse dependencies. The default action should be the most conservative action (the renaming of the library package). These bug reports could be used as transition bug reports as well, once GCC 5 is the default. Then these could be reassigned to release.debian.org once the transitions start. Matthias [1] https://people.debian.org/~doko/logs/gcc5-20150701/ [2] https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-gcc-5;users=debian-...@lists.debian.org -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5593df7a.9060...@debian.org
Re: ITP: golang-github.com-prometheus-log
On 01/07/15 17:02, Martín Ferrari wrote: > * Package name: golang-github.com-prometheus-log > Version : 0.10.0 > Upstream Author : The Prometheus Authors > * URL : https://github.com/prometheus/node_exporter Err.. too fast C&P, that should have been: > * Package name: golang-github.com-prometheus-log > Version : 0+git20150701.439e5db > Upstream Author : The Prometheus Authors > * URL : https://github.com/prometheus/log -- Martín Ferrari (Tincho) -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55940247.3060...@tincho.org
ITP: golang-github.com-prometheus-log
Package: wnpp Severity: wishlist Owner: Martín Ferrari * Package name: golang-github.com-prometheus-log Version : 0.10.0 Upstream Author : The Prometheus Authors * URL : https://github.com/prometheus/node_exporter * License : Apache-2.0 Programming Lang: Go Description : Logging library for Prometheus's Go-based components Standard logging library for Go-based Prometheus components. This library wraps https://github.com/Sirupsen/logrus in order to add line:file annotations to log lines, as well as to provide common command-line flags for Prometheus components using it. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/559400f1.6000...@tincho.org
Re: Bug#790685: ITP: python-conditional -- conditionally enter a context manager
* Colin Watson , 2015-07-01, 09:51: # A no-op context manager. context = contextlib.contextmanager(lambda: (None for _ in [None]))() This could be simplified to: context = contextlib.contextmanager([None].__iter__)() -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150701183047.ga4...@jwilk.net
Bug#790803: ITP: neural -- machine-learning for atomistics
Package: wnpp Severity: wishlist Owner: Graham Inggs X-Debbugs-CC: debian-devel@lists.debian.org * Package name: neural Version : 1.0 Upstream Author : Andrew Peterson, Alireza Khorshidi * URL : https://bitbucket.org/andrewpeterson/neural * License : GPL-3.0+ Programming Lang: Python Description : Machine Learning for Atomistics Neural is an open-source code designed to easily bring machine-learning to atomistic calculations. This allows one to predict (or really, interpolate) calculations on the potential energy surface, by optimizing a neural network representation of a "training set" of atomic images. The code works by learning from any other calculator (usually DFT) that can provide energy as a function of atomic coordinates. In theory, these predictions can take place with arbitrary accuracy approaching that of the original calculator. . Neural is designed to integrate closely with the Atomic Simulation Environment (ASE). As such, the interface is in pure python, although several compute-heavy parts of the underlying code also have fortran versions to accelerate the calculations. The close integration with ASE means that any calculator that works with ASE ─ including EMT, GPAW, DACAPO, VASP, NWChem, and Gaussian ─ can easily be used as the parent method. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cam8zjqs+c4kmo1ybop3snfoqp3nv6wx8wkk4zo5ysya+j76...@mail.gmail.com
Bug#790814: ITP: kanboard -- A PHP project management system with a kanban workflow style interface and various integrations.
Package: wnpp Severity: wishlist Owner: John Hackett * Package name: kanboard Version : v1.0.16 Upstream Author : Frédéric Guillot * URL : http://www.kanboard.net/ * License : AGPLv3 Programming Lang: PHP Description : A web based project management system with a kanban workflow style interface and various integrations. Kanboard allows for fast and easy project management and has robust task management built in. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150701215141.27937.85027.report...@afghan.shockingly.eu