FS#3528 - auto disown after some period of inactivity

Attached to Project: AUR web interface
Opened by Andreas Schweitzer - known as andy elsewhere in AL (aschweitzer) - Sunday, 27 November 2005, 12:15 GMT
Last edited by Lukas Fleischer (lfleischer) - Monday, 28 July 2014, 20:34 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version 1.2.7
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 31
Private No

Details

I've found packages by users that have only been uploading a handfull of packages but have never really updated them. I think, over time, such situations will become more frequent. These packages should be automatically diswoned, so that others that are interested in them (like me in these cases ;-) ...) can take them over. I have some possible implementation suggestions:
1) if a package is not updated in, say, half a year then send the maintainer a warning mail and give him 1 month (or so) to either update it, or to leave a comment. The second possibility also forces him to read comments others have left, instead of just dismissing the situation as "all ok".
2) if a user has not logged in, not changed anything or not left any comment in, say 9 months, all his packages are disowned. Again, a warning should be sent out before.

If the packages that led me to this suggestion fall in such a category is a totally different issue ;-) ...

This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Monday, 28 July 2014, 20:34 GMT
Reason for closing:  Implemented
Additional comments about closing:  AUR 3.4.0 allows for filing an orphan request which is auto-accepted if the package has been flagged out-of-date for more than 6 months.
Comment by Simo Leone (neotuli) - Monday, 19 December 2005, 03:54 GMT
I've been aware of the situation for some time now, and I've been trying to come up with a "fair" way of doing this. One has to account for the fact that some packages may not release for a year or whatever, and we don't want to rip packages away from people for things like that.

In the mean time, contact the maintainer themselves, and ask about it, and if they don't respond for a while, drop a message to the tur-users mailing list, and ask a TU to make the package an orphan.
Comment by Andreas Schweitzer - known as andy elsewhere in AL (aschweitzer) - Monday, 19 December 2005, 21:01 GMT
I certainly realize that there are packages that don't get updated for over a year (also for perfectly good reasons !). That's why I suggested the twofold way in my version 1): Namely _either_ update the package, _or_, if this does not apply, leave a comment "Still up to date" or similar after haveing received the automatic warning. However, it may be quite complicated to implement this.

OTOH, your mean time solution is of course also workable.
Comment by Simo Leone (neotuli) - Wednesday, 28 December 2005, 03:47 GMT
Here's my (somewhat final) proposal on how to do this, I cannot say by what version this would be implemented, as the way I'd like to do it may be somewhat involved.

1. An email should be sent to the maintainer when it is marked out of date (perhaps this should be an option, in case someone doesnt want it, added to #3059)
2. Timestamps will be implemented for out of date flags
3. A script will run once a day, any packages that have been flagged out of date for T - 1 week on that day will have another mail sent to the maintainer
4. That same script will find packages that have been flagged out of date for more than T, and orphan them

Firstly, I'd like to say that the emails should be to the effect of "please update the package, if you don't want to maintain it anymore, please disown it", secondly, my proposal for T is 1 month. That is, of course, open to argument, but I think one month is reasonable.

As for things that perhaps the maintainer does not want to update, the user flagging out of date should read the comments anyway, so the maintainer can leave a note to the effect of "please don't flag, because of blah and blah", and all should be well.
Comment by Paul Mattal (paul) - Wednesday, 02 August 2006, 05:09 GMT
Actually, for now I'd just settle for a simple script listing the most out-of-date packages and their ages and maintainers. We could start by posting that to the TU list and see who wants to take over what. Do we also have a last login time we could correlate? That'd be handy at determining what accounts may have been abandoned.
Comment by Paweł Stankowski (Ambi) - Sunday, 13 April 2008, 12:53 GMT
I think, that T should be no less than 2 weeks. Maintainers will be able to get more time by switching off and on 'out-of-date' flag anyway. And most of updates are no more complicated than changing version number and generating new md5 sums.
Comment by Paweł Stankowski (Ambi) - Sunday, 13 April 2008, 12:54 GMT
I meant no more than 2 weeks ;p
Comment by Tomas Mudrunka (harvie) - Sunday, 15 February 2009, 00:17 GMT
2 weeks? we can say at least 2 months. and there should be way to get ripped packages back...
you can also check last time of user login or updating any other package. there is possibility that user is working on other packages.

And what about users which are developers also and they're contributing PKGBUILDs of their own software? there should be way to set how long you will care about package. from 1 week to 1 year from last update for example...
Comment by Thomas Dziedzic (tomd123) - Thursday, 01 April 2010, 13:52 GMT
I think this would be a bad idea, since there are some packages that never get updated since they're never out of date. For instance -git -svn etc.
Comment by Harley Laue (losinggeneration) - Tuesday, 30 November 2010, 04:24 GMT
Personally, I like the 4 step auto-orphaning process. It makes sense that if a package has been flagged out of date for a long period of time (and the owner has been notified of it being flagged,) the owner most likely isn't interested in maintaining the package anymore. I can't see why there would be any objections to that. I think a month is a reasonable time frame to be considered orphaned if it's been out of date for that long without any indication of it being updated/worked on.
Comment by nathan (ndowens) - Wednesday, 09 March 2011, 04:35 GMT
My thought is like the idea Simo Leone said, for a script to do it. First off, give this description so this will make sense. Lets say a maintainer signs in, where it gives how many packages the member maintains then below it, how many packages are flagged out of date. Add an additional box saying something like "Packages not updated"(within a certain time frame). Then lets say I click on the Packages not updated and when I click on a package that has been marked this way, there is an option where I could click still up2date so it wouldn't be orphaned.(of course as long as the package is still up2date). I think this would be a great way to avoid unwanted orphanage. Then we would need to decide how long of a time frame to be automaticly marked by the script.
Comment by Lukas Fleischer (lfleischer) - Wednesday, 09 March 2011, 14:44 GMT
Agreed, we already implemented out-of-date mail notifications and timestamps, so this should be easy to implement!
Comment by canyonknight (canyonknight) - Saturday, 17 November 2012, 14:55 GMT
IMHO, there is no need to rely on a separate script to do this or have indiscriminate disowning of packages. A potential solution would be to have a series of steps that allow for any registered user to disown a specific package that has met agreed upon criteria.

1. A user flags a package out-of-date.
2. The package remains flagged out of date for x amount of time and the maintainer hasn't updated the package for y amount of time.
3. If x and y are considered long enough (at least 1-2 months?) the package page will allow any user to hit “disown package” and then adopt the package.

Such a solution would avoid disowning of packages that another user hasn't explicitly shown interest in maintaining. All while making it easier for the interested user to adopt the package without having to send something to aur-general.

Does such a solution sound convenient while still being fair?
Comment by Lukas Fleischer (lfleischer) - Sunday, 18 November 2012, 10:55 GMT
Sounds good to me. My only fear is that some users will start misusing the flag functionality in order to take over packages...
Comment by Harley Laue (losinggeneration) - Tuesday, 20 November 2012, 14:19 GMT
I think that sounds like a good strategy. Lukas, I think there's that possibility, but it'd be a very boarder case for misuse.
Comment by (Det) - Monday, 08 April 2013, 23:06 GMT
Maybe even a period of 2 months after the package has been flagged out-of-date.
Comment by Ashley Whetter (AWhetter) - Wednesday, 10 July 2013, 20:25 GMT
Sometimes a package is out of date because it should be though. eg Legacy packages are sometimes marked out of date because technically they are. Also sometimes you can't update because you might be waiting for a particular change upstream (or any change at all linux-sony!).
I think the current "notify maintainer, wait, email aur-general" protocol is fine. It's not ideal but I don't think any solution is because I've seen this discussed so many times!
Comment by Pablo Lezaeta (Jristz) - Friday, 20 June 2014, 23:29 GMT
Maybe if the maintainer set they acount to inactive the packages get never droped, but if the acount remian with the active flag the auto-disown procedure begin, and if is flag inactive for more than a week as a way to prevent spaming the active-inactive checking as minimal to stop the procedure
Comment by Damian Nowak (Nowaker) - Wednesday, 09 July 2014, 14:14 GMT
I have recently asked aur-general for some suggestions on how orphaning policy could be improved. This is a summary:

- auto-orphan package if out-of-date status stays longer than X (my suggestion: 1 month)
- modify the out-of-date e-mail template so the maintainer is aware the package will be auto-orphaned in X
- auto-mail the maintainer one week before X
- "Notify of orphaning" link in "Package Actions" so interested people can know once the package has been orphaned (related to https://bugs.archlinux.org/task/15412)
- daily digest e-mail of orphaned packages sent to aur-restests ML

Full thread: https://mailman.archlinux.org/pipermail/aur-general/2014-May/028506.html

Loading...