Page MenuHomePhabricator

archivebot should reset counter when changing a year
Closed, ResolvedPublic

Event Timeline

Xqt triaged this task as Medium priority.Feb 5 2019, 7:47 PM

Change 488544 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[pywikibot/core@master] archivebot.py: Reset counter when timestamp fragment changes

https://gerrit.wikimedia.org/r/488544

Change 488544 merged by jenkins-bot:
[pywikibot/core@master] archivebot.py: Reset counter when timestamp fragment changes

https://gerrit.wikimedia.org/r/488544

Xqt assigned this task to matej_suchanek.
matej_suchanek subscribed.

Some notes:

Perhaps we shouldn't attempt to reset counter if the archive pattern doesn't depend on anything but counter.

Ghost archive problem is definitely a regression. I can solve it either by preventing saving archives with 0 archived sections or by not caching archives that we don't know they'll exist.

Change 616719 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[pywikibot/core@master] [IMPR] Reset counter when "era" changes

https://gerrit.wikimedia.org/r/616719

matej_suchanek added a project: User-notice.

Whole Wikimedia depends on this functionality, needs careful review and maybe some testing.

Change 616719 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] Reset counter when "era" changes

https://gerrit.wikimedia.org/r/616719

Bot operators can use Pywikibot to regularly archive discussions. The behavior when the bot uses counter to prevent large archives was changed. There were also other changes.

@matej_suchanek Thank you for writing the explanation! Is there a link that we could add to this, to give more details?

Besides this task which explains the main problem, there were around five preceding changes not linked to any task. Their commit messages should have some details, but they were mostly refactorings or minor bug fixes. So unless you want to link them all, this query lists them all: https://gerrit.wikimedia.org/r/q/project:pywikibot/core+status:merged+after:2020-07-27+topic:archivebot.

Sorry I didn't see this message until after I had frozen the issue for translation. (I missed checking a column in the workboard). Instead of altering the now-frozen-for-translations issue of TechNews itself, I have added a note into this task's description. Hope that works!

I believe this doesn't have to be open anymore.