Bug#1063880: ITP: tmpwatch -- tmpwatch is a utility searches for files not accessed in a specific time and deletes them
Hi, On 2024-02-14 00:21, Peter Hyman wrote: Description : tmpwatch is a utility searches for files not accessed in a specific time and deletes them I fail to parse the short description as a sentence. Maybe: s/utility searches/utility which searches/ Best, Andrius
Bug#1063880: ITP: tmpwatch -- tmpwatch is a utility searches for files not accessed in a specific time and deletes them
Am 13.02.2024 um 23:21 schrieb Peter Hyman: - how do you plan to maintain it? tmpwatch has not had any activity for over 5 years. Originally written by Erik Troan , Preston Brown , Mike A. Harris , Miloslav Trmač , development has been discontinued, as systemd-tmpfiles already implements this kind of functionality. We also already have tmpreaper in the archive which basically does the same thing as tmpwatch. OpenPGP_signature.asc Description: OpenPGP digital signature
Bug#1063880: ITP: tmpwatch -- tmpwatch is a utility searches for files not accessed in a specific time and deletes them
They appear to be very similar. The code base is completely different. I'll review the tmpreaper program closely and close this ITP if there is functional duplication. Thank you for pointing this out. On 2/13/24 16:39, gregor herrmann wrote: On Tue, 13 Feb 2024 16:21:46 -0600, Peter Hyman wrote: * Package name : tmpwatch Description : tmpwatch is a utility searches for files not accessed in a specific time and deletes them The tmpwatch utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time. tmpwatch is normally used to clean up directories which are used for temporarily holding files (for example, /tmp). This sounds very much like tmpreaper: Description-en: cleans up files in directories based on their age This package provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that haven't been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove files owned by the process EUID that have the `w' bit clear, unless you ask it to, much like `rm -f'. `tmpreaper' will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. . WARNING: Please do not run `tmpreaper' on `/'. There are no protections against this written into the program, as that would prevent it from functioning the way you'd expect it to in a `chroot(8)' environment. . The daily tmpreaper run can be configured through /etc/tmpreaper.conf . Could you maybe say a bit about the differences? Cheers, gregor -- Peter Hyman
Bug#1063880: ITP: tmpwatch -- tmpwatch is a utility searches for files not accessed in a specific time and deletes them
On Tue, 13 Feb 2024 16:21:46 -0600, Peter Hyman wrote: > * Package name : tmpwatch > Description : tmpwatch is a utility searches for files not accessed in a > specific time and deletes them > > The tmpwatch utility recursively searches through specified directories and > removes files which have not been accessed in a specified period of time. > tmpwatch is normally used to clean up directories which are used for > temporarily holding files (for example, /tmp). This sounds very much like tmpreaper: Description-en: cleans up files in directories based on their age This package provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that haven't been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove files owned by the process EUID that have the `w' bit clear, unless you ask it to, much like `rm -f'. `tmpreaper' will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. . WARNING: Please do not run `tmpreaper' on `/'. There are no protections against this written into the program, as that would prevent it from functioning the way you'd expect it to in a `chroot(8)' environment. . The daily tmpreaper run can be configured through /etc/tmpreaper.conf . Could you maybe say a bit about the differences? Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- signature.asc Description: Digital Signature
Bug#1063880: ITP: tmpwatch -- tmpwatch is a utility searches for files not accessed in a specific time and deletes them
Package: wnpp Severity: wishlist Owner: Peter Hyman X-Debbugs-Cc: debian-de...@lists.debian.org * Package name : tmpwatch Version : 2.12 * Upstream Contact: Peter Hyman URL : https://github.com/pete4abw/tmpwatch * License : GPL Programming Lang: C Description : tmpwatch is a utility searches for files not accessed in a specific time and deletes them The tmpwatch utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time. tmpwatch is normally used to clean up directories which are used for temporarily holding files (for example, /tmp). - While Debian removes files in the /tmp directory, other files may have temporary files that needs to be cleaned periodically. tmpwatch is ideally used as a cron-job. - how do you plan to maintain it? tmpwatch has not had any activity for over 5 years. Originally written by Erik Troan , Preston Brown , Mike A. Harris , Miloslav Trmač , I have forked off and added some enhancements. However, packaging for Debian has been challenging since the autogen I wrote fetches a submodule which creates lots of files not in the source package. I would need a mentor to help me get this off the ground. Original project URL is at the Fedora project page: https://pagure.io/tmpwatch -- Peter Hyman