Closed
Bug 356741
Opened 18 years ago
Closed 18 years ago
let TT fetch/make files' size/name
Categories
(Bugzilla :: bugzilla.org, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: spam, Assigned: spam)
Details
Attachments
(1 file, 1 obsolete file)
3.94 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
_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
Assignee | ||
Comment 1•18 years ago
|
||
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?
Assignee | ||
Comment 2•18 years ago
|
||
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 3•18 years ago
|
||
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+
Updated•18 years ago
|
Assignee: justdave → spam
Comment 4•18 years ago
|
||
Fixed as part of the general release checkin in bug 361114.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Severity: minor → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•