~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/product/xx-product-files.txt

  • Committer: Brad Crittenden
  • Date: 2010-08-25 19:35:56 UTC
  • mto: This revision was merged to the branch mainline in revision 11445.
  • Revision ID: bac@canonical.com-20100825193556-kp2hsa41p0jnm5ch
Fixed lint issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
= Downloadable Files =
 
1
==================
 
2
Downloadable Files
 
3
==================
2
4
 
3
5
Launchpad can show a product's downloadable files, by series, with
4
6
links to each.
17
19
    >>> content = find_tag_by_id(anon_browser.contents, 'downloads')
18
20
    >>> print extract_text(content)
19
21
    Downloads
20
 
    Mozilla Thunderbird does not have any download files registered with Launchpad.
 
22
    Mozilla Thunderbird does not have any download files
 
23
    registered with Launchpad.
21
24
 
22
25
Any user can see a projects download files organised by series. For each
23
26
series, the owner sees a heading, summary, table of files, and links to each
33
36
    >>> anon_browser.getLink('All downloads').click()
34
37
    >>> print extract_text(
35
38
    ...     find_tag_by_id(anon_browser.contents, 'project-downloads'))
36
 
    0.9.2 (One (secure) Tree Hill) release from the trunk series released 2004-10-15
 
39
    0.9.2 (One (secure) Tree Hill) release from the trunk series
 
40
    released 2004-10-15
37
41
    Release information
38
42
    Release notes:
39
43
    Security fixes
42
46
    firefox_0.9.2.orig.tar.gz (md5)               -
43
47
 
44
48
 
45
 
== Deletion is only for the privileged ==
 
49
Deletion is only for the privileged
 
50
===================================
46
51
 
47
52
As an anonymous user the files for download should be shown, but not
48
53
the delete options.
107
112
    LookupError: label 'Delete Files'
108
113
 
109
114
 
110
 
== The download file layout ==
 
115
The download file layout
 
116
========================
111
117
 
112
118
When a project has a series with one or more releases, an option to
113
119
add download files for each release in that series is presented.
156
162
    Add download file to the 1.0 series for release: 1.0.0
157
163
 
158
164
 
159
 
== Adding new files ==
 
165
Adding new files
 
166
================
160
167
 
161
168
In order to add new files, the admin can click on the link release
162
169
link provided under the series name, or navigate to the product
377
384
    foo.txt
378
385
 
379
386
 
380
 
== Downloading and deleting files ==
 
387
Downloading and deleting files
 
388
==============================
381
389
 
382
390
Download one of the files.
383
391
 
432
440
    foo.txt
433
441
 
434
442
 
435
 
== Listing on the ProductRelease page ==
 
443
Listing on the ProductRelease page
 
444
==================================
436
445
 
437
446
Download files are shown on the page for the product release.
438
447
Non-administrators do not have the delete option.
471
480
    [u'1 file has been deleted.']
472
481
 
473
482
 
474
 
== Scheme redirection ==
 
483
Scheme redirection
 
484
==================
475
485
 
476
486
Files may be downloaded over http or https with the URL for the
477
487
librarian file constructed based upon the scheme of the original