Many URLs defined in the origin view (urlconf) are redundant.
This fix redirects them to the corresponding object type URLs.
eg: /origin/directory will be redirected to /directory/<sha1>
Related to T3608
Differential D6430
WIP - Deprecate most of the /browse/origin/.* URLs jayeshv on Oct 7 2021, 10:45 AM. Authored by
Details
Many URLs defined in the origin view (urlconf) are redundant. Related to T3608
/browse/origin/directory/
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D6430 (id=23358)Rebasing onto cc60a4a5c8... Current branch diff-target is up to date. Changes applied before testcommit d68fdbd2a79967d2be79d16b91cea315dff34d58 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Oct 7 10:35:41 2021 +0200 Deprecate most of the /browse/origin/.* URLs Many URLs defined in the origin view (urlconf) are redundant. This fix redirects them to the corresponding object type URLs. eg: /origin/directory will be redirected to /directory/<sha1> Related to T3608 Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1145/ Comment Actions Please proceed one view at at a time by diff to ease reviews, start with content, then directory, ...
Comment Actions Build has FAILED Patch application report for D6430 (id=23366)Rebasing onto 0da4e46ae3... First, rewinding head to replay your work on top of it... Applying: Deprecate most of the /browse/origin/.* URLs Applying: more re-factoring Changes applied before testcommit 473930b796906e1a419655fd357ffb8e1f65c8b8 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Oct 7 11:51:10 2021 +0200 more re-factoring commit e3b15af0705f966b442b2cd68c0241a95f92bc11 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Thu Oct 7 10:35:41 2021 +0200 Deprecate most of the /browse/origin/.* URLs Many URLs defined in the origin view (urlconf) are redundant. This fix redirects them to the corresponding object type URLs. eg: /origin/directory will be redirected to /directory/<sha1> Related to T3608 Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1146/ |