Bug 789202 - downloads section
Summary: downloads section
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 04:43 UTC by Dana Mison
Modified: 2014-08-04 22:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-01 23:11:28 UTC


Attachments (Terms of Use)

Description Dana Mison 2012-02-10 04:43:55 UTC
Instead of emailing the docbook builds how about:

A new Builds page:

listed here would be

1 - all the currently requested builds that haven't finished (the time they started and link to the search that created it) 
2 - all the completed builds each with a link to download it

Completed builds would only be kept for a short time, maybe a day, before being automatically removed

Any completed build could be flagged as a "keeper" and a name and description attached to it.  Builds marked in this way would remain until they are explicitly removed.

Comment 1 Dana Mison 2012-02-10 04:44:37 UTC
listed builds could also have a link to the log messages about the build for troubleshooting

Comment 2 Matthew Casperson 2012-02-22 21:33:50 UTC
Zip builds could be uploaded into the BlobConstants table, with a link to the download in the email.

Would need a service to clear out any builds older than a day from the BlobConstants table.

Comment 3 Dana Mison 2012-06-13 05:40:27 UTC
I don't know if you have any previously used mechanism for scheduled behaviour.  One possibility is to leverage the EJB timer service.


@javax.ejb.Stateless
public class BuildCleanerEJB
{
   @javax.ejb.Schedule(hour="0")    //midnight each day
   public void clearOldBuilds()
   {
      //code for cleaning builds out

   }
}

Comment 4 Lee Newson 2013-07-01 23:11:28 UTC
Since this mechanism is no longer used and has been removed, I'm closing this as CANTFIX.


Note You need to log in before you can comment on or make changes to this bug.