My objective is to get an email notification when an update is available for a specific Debian package.
All we still need to know is whether the OP cares
about packages that aren't installed, or whether some
other aspect of Greg's solution isn't sufficient.
Your Subject header includes the word "upstream". This word appears *nowhere* else in the entire email, and it completely moves the goalposts.
[...] requirements [...] For a given package, if I want to know
about changes in unstable, then it must not generate notifications
against stable, experimental, source, or some other architecture.
[...] Tracker and the Debian mailing lists [...] are dev-oriented,
not user-oriented. Notifications/NEWS occurs when source/uploads get
accepted, not when built packages are released to the FTP servers.
If you only care about new Debian packages, and if the
package is one that's installed on your system [...]
On Sat, Jun 29, 2024 at 20:12:36 -0700, Will Mengarini wrote:
All we still need to know is whether the OP cares
about packages that aren't installed, or whether some
other aspect of Greg's solution isn't sufficient.
If there's interest in new versions of uninstalled packages, then we
have an additional bit of complexity -- how do you know whether the
candidate package is "new"? You would need an "old" version number
to compare against.
Possible answers include "the candidate version number that I got the
last time I ran the script" or "a version number that I'll provide as
a second argument to the script". We'd need to know what the OP has
in mind here.
Your Subject header includes the word "upstream". This word appears
*nowhere* else in the entire email, and it completely moves the goalposts.
Are you looking for notifications that a new Debian*package* has become available, or are you looking for notifications that the*upstream*
developer has released a new version, which may or may not have a corresponding set of Debian packages?
My next question: is this a package that's*installed* on your system?
rmadison will fetch data about package versions available in the
Debian repositories.
Its output might be usefully parsed by a script.
My objective is to get an email notification when an update is available for a specific Debian package.
It sounds simple. Something like this should already exist, right? The requirements are trivial. Yet after doing a lot of research I can't find an existing solution that doesn't have problems.
Does anyone have any suggestions or input?
I will readily admit that it doesn't immediately meet all of your
criteria, but one possible venue especially if you are only interested
in a few specific packages might be to point e.g. rss2email at the
package events RSS feed available through tracker.debian.org. At that
point you can use typical email filtering to further filter it down to
only those events you are interested in (for example, only those that
mention "into stable").
It seems crazy that in all the history of Debian, nobody said
"There's a package I care about and I want to get immediately when a
new version is released." And if they had, doing an "apt-get update"
every minute of the day would not have been any part of the desired
outcome.
On 6/29/24 7:48 PM, Greg Wooledge wrote:
My next question: is this a package that's*installed* on your system?
No. Not even the same arch or release as the installed system. I'll even go further and tell you I want these notifications on a Windows system or an iPhone. And the Debian systems are air-gapped with no Internet access.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:11:05 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,566 |