Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

The notice "The site is under maintenance." causes confusion. #41

Closed
shlomif opened this Issue · 2 comments

2 participants

@shlomif

Hi,

the pages on http://cpants.cpanauthors.org/ have been displaying this notice at the top for a few days now:

The site is under maintenance.

Some of the information may be old or missing tentatively. Sorry for the inconvenience.

now, there are a few things I don't understand:

  1. What kind of maintenance is it?

  2. Why is it still present for a few days?

  3. When will it complete?

Some suggestions:

  1. Be more specific about the kind of maintenance that is being done.

  2. Give a "how much was completed" percentage.

  3. Give an approximate ETA (= estimated time of arrival) for when it will finish.

Regards,

-- Shlomi Fish

@charsbar
Owner

What kind of maintenance is it?

Normally it's just a sign to show CPANTS is analyzing distributions. In some cases, I actually do some maintenance tasks such as updating relevant modules or analyzing logs etc.

Why is it still present for a few days?

Most probably it's because the last maintenance took a bit more than a day to regenerate everything to reflect the recent metric changes. If you have really seen the maintenance sign for more than two days, you might be unlucky enough to have always come at the scheduled maintenance time :)

When will it complete?

I just confirmed the regeneration was completed and everything seemed fine, and thus ended the maintenance. Thanks for the heads-up.

Be more specific about the kind of maintenance that is being done.

Suggestions are welcome. As I said, it's normally a sign that a scheduled analyzing process is running.

Give a "how much was completed" percentage.

Hm. This may help, but only for scheduled processes I usually don't touch.

Give an approximate ETA (= estimated time of arrival) for when it will finish.

It's much harder to say when, partly because it depends on various aspects such as the number of target distributions (which may be a few dozens, or two hundred thousands), unexpected distribution specifics that may make some of the metrics take a lot of time (it certainly took a bit more than what I expected this time), other background processes such as CPAN mirroring etc.

Anyway, as of this writing, CPANTS is updating only daily, so I'm not that interested in showing the details of what normally ends in a few hours. I'll probably reconsider this when I successfully make it update more frequently.

@shlomif
@charsbar charsbar closed this issue from a commit
@charsbar charsbar Tweaked maintenance notice, which is only shown for maintenance start…
…ed by hand; added notice for ongoing analysis for clarity (hopefully fix #41, though even clearer messages are required)
9b7f738
@charsbar charsbar closed this in 9b7f738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.