Fossil

Check-in [3c9e5699ce]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Use new alternative <tt>/zip</tt> URL syntax for the <tt>Zip archive</tt> link at the <tt>/vinfo</tt> page. Where the old filename of the ZIP archive was <verbatim> 417dd898ab0640f2472ebd248ac80e80f0ec6972.zip </verbatim> the new name would be: <verbatim> fossil-417dd898ab.zip </verbatim> The archive's content is placed into a directory named after the Zip archive file's basename.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3c9e5699ceb881c939c0fc7fa8cddff1329b4ab5
User & Date: cle 2008-08-13 19:22:50.000
References
2008-08-14
04:52
Fix a stupid bug of mine introduced in [3c9e5699ce]. If the ZIP archive's name is composed, the actual project's name should be chosen instead of a fix <tt>fossil</tt>. ... (check-in: bdac9f7238 user: hintze tags: trunk)
Context
2008-08-14
04:52
Fix a stupid bug of mine introduced in [3c9e5699ce]. If the ZIP archive's name is composed, the actual project's name should be chosen instead of a fix <tt>fossil</tt>. ... (check-in: bdac9f7238 user: hintze tags: trunk)
2008-08-13
19:22
Use new alternative <tt>/zip</tt> URL syntax for the <tt>Zip archive</tt> link at the <tt>/vinfo</tt> page. Where the old filename of the ZIP archive was <verbatim> 417dd898ab0640f2472ebd248ac80e80f0ec6972.zip </verbatim> the new name would be: <verbatim> fossil-417dd898ab.zip </verbatim> The archive's content is placed into a directory named after the Zip archive file's basename. ... (check-in: 3c9e5699ce user: cle tags: trunk)
11:57
Allow an alternative URL syntax for downloading artifacts via the <tt>/zip</tt> page. The original way is: <verbatim> http://localhost:8080/zip/fa6e9930177e84ce089b30ad768c454a012364f7.zip </verbatim> which will store the artifact in the file <tt>a6e9930177e84ce089b30ad768c454a012364f7.zip</tt>. Alternatively it is now possible to download the artifact in e.g. the file <tt>fossil.zip</tt> via the URL: <verbatim> http://localhost:8080/zip/fossil.zip?rid=fa6e9930177e84ce089b30ad768c454a012364f7 </verbatim> ... (check-in: 417dd898ab user: hintze tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
352
353
354
355
356
357
358

359
360
361
362
363
364
365
366
367
368
369
370
371
372
373

374
375
376
377
378
379
380
      @ <tr><th>Edited&nbsp;Comment:</th><td>%w(zEComment)</td></tr>
      @ <tr><th>Original&nbsp;Comment:</th><td>%w(zComment)</td></tr>
    }else{
      @ <tr><th>Comment:</th><td>%w(zComment)</td></tr>
    }
    @ </td></tr>
    if( g.okHistory ){

      @ <tr><th>Timelines:</th><td>
      @    <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
      @ </td></tr>
      @ <tr><th>Commands:</th>
      @   <td>
      @     <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
      @     | <a href="%s(g.zBaseURL)/zip/%s(zUuid).zip">ZIP archive</a>
      @     | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
      if( g.okWrite ){
        @     | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
      }
      @   </td>
      @ </tr>

    }
    @ </table></p>
  }else{
    style_header("Baseline Information");
    login_anonymous_available();
  }
  db_finalize(&q);







>








|






>







352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
      @ <tr><th>Edited&nbsp;Comment:</th><td>%w(zEComment)</td></tr>
      @ <tr><th>Original&nbsp;Comment:</th><td>%w(zComment)</td></tr>
    }else{
      @ <tr><th>Comment:</th><td>%w(zComment)</td></tr>
    }
    @ </td></tr>
    if( g.okHistory ){
      char *zShortUuid = mprintf("%.10s", zUuid);
      @ <tr><th>Timelines:</th><td>
      @    <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">ancestors</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)">descendants</a>
      @    | <a href="%s(g.zBaseURL)/timeline?d=%d(rid)&p=%d(rid)">both</a>
      @ </td></tr>
      @ <tr><th>Commands:</th>
      @   <td>
      @     <a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a>
      @     | <a href="%s(g.zBaseURL)/zip/fossil-%s(zShortUuid).zip?rid=%s(zUuid)">ZIP archive</a>
      @     | <a href="%s(g.zBaseURL)/artifact/%d(rid)">manifest</a>
      if( g.okWrite ){
        @     | <a href="%s(g.zBaseURL)/vedit?r=%d(rid)">edit</a>
      }
      @   </td>
      @ </tr>
      free(zShortUuid);
    }
    @ </table></p>
  }else{
    style_header("Baseline Information");
    login_anonymous_available();
  }
  db_finalize(&q);