Merge lp:~sinzui/launchpad/rdf-links-1 into lp:launchpad
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Leonard Richardson | ||||||||
Approved revision: | no longer in the source branch. | ||||||||
Merged at revision: | 11651 | ||||||||
Proposed branch: | lp:~sinzui/launchpad/rdf-links-1 | ||||||||
Merge into: | lp:launchpad | ||||||||
Diff against target: |
205 lines (+80/-24) 8 files modified
lib/canonical/launchpad/browser/launchpad.py (+0/-6) lib/canonical/launchpad/configure.zcml (+0/-13) lib/lp/registry/browser/__init__.py (+18/-1) lib/lp/registry/browser/configure.zcml (+17/-0) lib/lp/registry/browser/tests/test_rdf.py (+35/-0) lib/lp/registry/rdfspec/launchpad.owl (+1/-1) lib/lp/registry/templates/rdf-index.pt (+6/-3) lib/lp/services/mime.py (+3/-0) |
||||||||
To merge this branch: | bzr merge lp:~sinzui/launchpad/rdf-links-1 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Review via email: mp+36865@code.launchpad.net |
Description of the change
This is my branch to fix the /rdf explanation and OWL.
lp:~sinzui/launchpad/rdf-links-1
Diff size: 206
Launchpad bug:
https:/
Test command: ./bin/test -vv -t TestRootRDF
Pre-
Target release: 10.10
Fix the /rdf explanation and OWL
-------
/rdf states Launchpad provides exports of project metadata. This is not
exactly true. Launchpad provides RDF description of projects and people.
The link the the OWL was broken in 2006.
Rules
-----
* Moved the view, template, and OWL to lp.registry.
* Add an ExportedFolder to support the OWL file.
* Revised the description of Launchpad's RDF.
QA
--
* Visit https:/
* Verify the page explains what has RDF and how it can be retrieved.
* Follow the link to the OWL file.
* Verify the file downloads (or displays in your browser if it supports
applicati
Lint
----
Linting changed files:
lib/canonical
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test
----
Added a test to verify the view and the OWL file.
* lib/lp/
Implementation
--------------
Moved the RDFIndexView to lp.registry and define RDFFolder to replace the
broken resourceDirectory.
* lib/canonical/
* lib/canonical/
* lib/lp/
* lib/lp/
Revised the namespace to match the exported folder and added mimetype
support for OWL.
* lib/lp/
* lib/lp/
Revised the text of the page.
* lib/lp/