| 97 |
self.register('data/missing-epochs', self.page_data_missing_epochs) |
self.register('data/missing-epochs', self.page_data_missing_epochs) |
| 98 |
self.register('data/releases', self.page_data_releases) |
self.register('data/releases', self.page_data_releases) |
| 99 |
self.register('data/funny-versions', self.page_data_funny_versions) |
self.register('data/funny-versions', self.page_data_funny_versions) |
| 100 |
|
self.register('data/fake-names', self.page_data_fake_names) |
| 101 |
|
|
| 102 |
def page_home(self, path, params, url): |
def page_home(self, path, params, url): |
| 103 |
query = params.get('query', ('',))[0] |
query = params.get('query', ('',))[0] |
| 130 |
('status/itp', 'ITPs with potential security issues'), |
('status/itp', 'ITPs with potential security issues'), |
| 131 |
('data/unknown-packages', |
('data/unknown-packages', |
| 132 |
'Packages names not found in the archive'), |
'Packages names not found in the archive'), |
| 133 |
|
('data/fake-names', 'Tracked issues without a CVE name'), |
| 134 |
('data/missing-epochs', |
('data/missing-epochs', |
| 135 |
'Package versions which might lack an epoch'), |
'Package versions which might lack an epoch'), |
| 136 |
('data/funny-versions', |
('data/funny-versions', |
| 834 |
long as none of the binary packages carries the same name as the |
long as none of the binary packages carries the same name as the |
| 835 |
source package, most confusion is avoided or can be easily |
source package, most confusion is avoided or can be easily |
| 836 |
explained.""")]) |
explained.""")]) |
| 837 |
|
|
| 838 |
|
def page_data_fake_names(self, path, params, url): |
| 839 |
|
def gen(): |
| 840 |
|
for (bug, description) in self.db.getFakeBugs(): |
| 841 |
|
yield self.make_xref(url, bug), description |
| 842 |
|
return self.create_page( |
| 843 |
|
url, "Automatically generated issue names", |
| 844 |
|
[P("""Some issues have not been assigned CVE names, but are still |
| 845 |
|
tracked by this database. In this case, the system automatically assigns |
| 846 |
|
a unique name. These names are not stable and can change when the database |
| 847 |
|
is updated, so they should not be used in external references."""), |
| 848 |
|
P('''The automatically generated names come in two flavors: |
| 849 |
|
the first kind starts with the string "''', CODE("FAKE-000000-"), |
| 850 |
|
'''". This means that no Debian bug has been assigned to this |
| 851 |
|
issue (or a bug has been created and is not recorded in this database). |
| 852 |
|
In the second kind of names, there is a Debian bug for the issue, and the "''', |
| 853 |
|
CODE("000000"), '''"part of the name is replaced with the |
| 854 |
|
Debian bug number.'''), |
| 855 |
|
make_table(gen(), |
| 856 |
|
caption=("Bug", "Description"))]) |
| 857 |
|
|
| 858 |
def create_page(self, url, title, body, search_in_page=False, status=200): |
def create_page(self, url, title, body, search_in_page=False, status=200): |
| 859 |
append = body.append |
append = body.append |