Closed Bug 356741 Opened 18 years ago Closed 18 years ago

let TT fetch/make files' size/name

Categories

(Bugzilla :: bugzilla.org, enhancement)

2.23
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: spam, Assigned: spam)

Details

Attachments

(1 file, 1 obsolete file)

_RSZ_ it's painful to check 10+ per a branch, 3 places per a line :-( justdave hmm, yeah, I guess... justdave still going to have to check them all to fix the download sizes. :) justdave of course, if we got the static build scripts working, we could put in a function in TT to actually check the file size on the ftp site and insert it :) justdave since it would only have to run when something else in the file was modified
Attached patch 2 new files (obsolete) — Splinter Review
to use this, write [%- PROCESS dl(release => '2.18.5') -%] in the src. this makes: <div class="download"> <h3>Download:</h3> <a href="http://ftp.../..../bugzilla-2.18.5.tar.gz" class="downloadLink">Bugzilla 2.18.5</a> <span class="configuration">(1.6M)</span> </div> and when it has 3rd digit - means *.*.1 or after: <h3>Patches:</h3> <table border="0"> <tr> <td><a href="http://ftp.../..../bugzilla-2.18.4-to-2.18.5.diff.gz">2.18.4 to 2.18.5 patch</a></td> <td>(20.2K)</td> <td><a href="http://ftp.../..../bugzilla-2.18.4-to-2.18.5-nodocs.diff.gz">without docs</a></td> <td>(5.4K)</td> </tr> <tr> ....
Attachment #242331 - Flags: review?
Attached patch v2Splinter Review
add dev/rc mode this version also returns cvs tags B-) usage: [%- PROCESS dl(release => '2.18.6',mode => '') -%] [%- PROCESS dl(release => '2.22.1',mode => 'recommend') -%] [%- PROCESS dl(release => '2.23.3',mode => 'dev') -%] as documented, both release and mode vars are required even if these mode is not the case. now this is used on .jp site :-) the patch doesn't have this though, this will require 'pre_process = dl.tmpl' to ttree.cfg
Attachment #242331 - Attachment is obsolete: true
Attachment #242414 - Flags: review?
Attachment #242331 - Flags: review?
Comment on attachment 242414 [details] [diff] [review] v2 This looks great. I'm going to use it for the latest Bugzilla release. I changed "recommend" to "stable," that's the only difference right now for bugzilla.org.
Attachment #242414 - Flags: review? → review+
Assignee: justdave → spam
Fixed as part of the general release checkin in bug 361114.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Severity: minor → enhancement
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: