Bug 789202

Summary: downloads section
Product: [Community] PressGang CCMS Reporter: Dana Mison <dmison>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CANTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.xCC: cbredesen, lnewson, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-01 23:11:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.