I'd like to request an upload of the psrecord NEW package ( https://salsa.debian.org/python-team/packages/python-psrecord ) as I
don't have uploading rights. This closes #1075810. It's lintian OK and
the latest upstream version.
/<<PKGBUILDDIR>> directory 32031a32
/<<PKGBUILDDIR>>/psrecord.egg-info directory 40
Package name
============
I saw that you started with psrecord as source package name and
tijuca
suggested to use python-psrecord in [0]. After looking into the
package,
my personal preference is to switch back to psrecord as source
package
name since in my view the main task of the package is to provide a
psrecord executable and I consider the fact that it is written in
Python
an implementation detail. This is basically the situation mentioned
by
stefanor in [1]. Therefore my proposal is to use psrecord for both
the
source and the binary package name.
I understand that this is an unfortunate situation for you since one
person suggests to do A and another person suggests to do B.
Therefore I
propose to wait a bit and see what other people think about this.
More
opinions are much appreciated - in particular in view of recent
discussions about namespacing Python packages.
Yes, indeed after first reading DPT conventions, I also concluded the
best source/binary pkg name combo would be plain psrecord. I'll wait a
bit more, suggestions are very much welcome. If nothing relevant
happens in the meantime (both in this thread or more general
discussions) I will move the whole repo again to salsa/dpt/psrecord.
This little tool is quite useful and I'd hate for it to be stuck in
limbo for too long.
From reading this thread, it seems like psrecord is an application written in Python. Upstream could, if they felt like it, re-implement the whole thing in Rust and it would still be psrecord. Assuming that's at least generally correct, I think psrecord is definitely the correct package name.
d/control
---------
a) The present code fails to build in a clean build environment because
the following build dependencies are missing:
- python3-psutil
- help2man
b) The "Provides" field should be removed (cf. [3]).
From reading this thread, it seems like psrecord is an application written in Python. Upstream could, if they felt like it, re-implement the whole thing in
Rust and it would still be psrecord. Assuming that's at least generally correct, I think psrecord is definitely the correct package name.
The only exception is that applications which provide a publically available module/ extension that other programs can use should provide a binary which uses the python3-foo naming convention (see spf-engine as an example). It is a matter of taste and judgement for small applications that provide a public module/extension should ship the application in a separate binary package or not. Generally, tiny packages are bad because they require more overhead, including making the packages file bigger for every single user.
On 2024-10-26 17:00:18, Scott Kitterman wrote:
From reading this thread, it seems like psrecord is an application
written in Python. Upstream could, if they felt like it, re-implement
the whole thing in
Rust and it would still be psrecord. Assuming that's at least generally
correct, I think psrecord is definitely the correct package name.
yes, I think this applies to psrecord.
The only exception is that applications which provide a publically
available
module/ extension that other programs can use should provide a binary
which
uses the python3-foo naming convention (see spf-engine as an
example). It is
a matter of taste and judgement for small applications that provide a
public
module/extension should ship the application in a separate binary
package or
not. Generally, tiny packages are bad because they require more
overhead,
including making the packages file bigger for every single user.
In addition psrecord provides a public module (as per [0]) but I am
inclined to consider this one of the "small application" cases which do
not warrant a separate binary package.
On 2024-10-27 20:12:28, Peter Wienemann wrote:
On 2024-10-26 17:00:18, Scott Kitterman wrote:
From reading this thread, it seems like psrecord is an application written in Python. Upstream could, if they felt like it, re-implement the whole thing in
Rust and it would still be psrecord. Assuming that's at least generally >>> correct, I think psrecord is definitely the correct package name.
yes, I think this applies to psrecord.
The only exception is that applications which provide a publically available
module/ extension that other programs can use should provide a binary which >>> uses the python3-foo naming convention (see spf-engine as an example). It is
a matter of taste and judgement for small applications that provide a public
module/extension should ship the application in a separate binary package or
not. Generally, tiny packages are bad because they require more overhead, >>> including making the packages file bigger for every single user.
In addition psrecord provides a public module (as per [0]) but I am inclined to consider this one of the "small application" cases which do not warrant a separate binary package.
re-reading your message, I think I got it wrong in my above reply. Sorry for the confusion. I am trying to summarize to clarify the situation:
Since psrecord ships both an executable and a public module (and it is small), the suggested package names are:
- psrecord as source package name
- python3-psrecord as binary package name (shipping executable and module)
Alternative (but not recommended due to the smallness):
- psrecord as source package name
- python3-psrecord as binary package name (shipping the module)
- psrecord as additional binary package name (shipping the executable).
Is choosing psrecord as source package name still advisable in the above cases? Or is python-psrecord as source package name better for the executable+module case?
d/controlDone
d/copyrightDone
-----------
I reread the BSD license, and what other packages have in copyright.. I
In the "License: BSD-2-clause" stanza, the "All rights reserved."
line
is missing.
can't find the line you're talking about, could you tell me where the
line should be ?
I feel I'm getting close to upload ready for this, any extra comments
from anyone would be welcome ! If nothing else comes up, I'm going
forward and requesting an upload from anyone who has the time to do so.
(BTW, I'm stuck with the main [default] branch on the psrecord repo, I
still can't figure out how to unprotect it and delete ( I think someone
with admin powers has to do that, it's been discussed here before )
Hello,
I'd like to request an upload of the psrecord NEW package ( https://salsa.debian.org/python-team/packages/python-psrecord ) as I
don't have uploading rights. This closes #1075810. It's lintian OK and
the latest upstream version.
Also, to anyone with admin powers, please nuke https://salsa.debian.org/python-team/packages/psrecord as this was
migrated to the new location following discussions about naming
conventions. it's empty.
Have a great one,
Alexandru Mihail
After implementing welcomed suggestions from people who replied to this thread (thanks Peter et al) I think this package is ready for upload
(or further review if you find anything wrong, of course). It's lintian
clean and you can find it on salsa here: https://salsa.debian.org/python-team/packages/psrecord
I implemented the last things you pointed out (I chose utils for the
section of psrecord as I see it fits its use the most).
As of you protecting debian/master I can no longer directly push to
this branch. I have the developer role and only Maintainer+Owner roles
can directly push to protected. For now, I've created a merge request
which you can push to master: https://salsa.debian.org/python-team/packages/psrecord/-/merge_requests/1
but for the future, I either need to acquire Maintainer role or I'll
have to keep crafting merge requests for other members to approve,
which seems a bit time consuming :)
On 2024-11-24 23:31:22, Alexandru Mihail wrote:
As of you protecting debian/master I can no longer directly push to
this branch. I have the developer role and only Maintainer+Owner roles
can directly push to protected. For now, I've created a merge request
which you can push to master:
https://salsa.debian.org/python-team/packages/psrecord/-/merge_requests/1
but for the future, I either need to acquire Maintainer role or I'll
have to keep crafting merge requests for other members to approve,
which seems a bit time consuming :)
The following question is directed to the Python team:
What is the usual way to handle this situation? Grant uploaders the maintainer role for their projects?
Yes, there were some rogue commits in [upstream], I reimported upstream tar.gz and redone the whole process, it seems to build fine for me now
in an empty sbuild.
Seems fine now, thanks for the time; upload when you think OK.
Pinging about (upload) my last mail, I cleaned up upstream mess on
psrecord now and I think it's ready for upload. Would really appreciate
your scrutiny one last time.
/<<PKGBUILDDIR>>/debian directory 24021a22
/<<PKGBUILDDIR>>/debian/psrecord.1 regular file 1427fbcd91b4cb61d6616892a323e65daee05a54131e6177ae5b81da9ee4276722a6 ----------------------------------------------------------------------
On 07.12.24 22:01, Peter Wienemann wrote:
Adding a line
rm -f debian/psrecord.1
to the override_dh_auto_clean target in debian/rules should fix this.
I'm just wondering if you can use debian/clean for that purpose.
Hilmar
Did all the little final housework you suggested, including bonus (nice
catch !)
Ready for upload when you can !
Have a wonderful weekend,
d/clean would work just as well, that's exactly what I tend to use if I have more than a few files that I have to specify manually to be cleaned.
And personally, I'd recommend to use execute_after_dh_auto_clean than override_dh_auto_clean so that it doesn't override anything it was previously doing, just in case.
Best regards
Peter
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 18:02:29 |
| Calls: | 12,103 |
| Calls today: | 3 |
| Files: | 15,004 |
| Messages: | 6,518,079 |