diff options
author | W. Trevor King <wking@drexel.edu> | 2010-02-20 13:12:38 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-02-20 13:12:38 -0500 |
commit | 4d1e4ad8aa2cb42648de90966cef904b555f9de9 (patch) | |
tree | a58ff765c6bc3a382a7b6d2a4dacad1ffe7e083f /.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs | |
parent | de8d4e5c27cf3a95f4e5c2d43c612c1d2afdafc0 (diff) | |
parent | 9e5bc2a479e36ff0c41b490f3eca080f78bf1cc4 (diff) | |
download | bugseverywhere-4d1e4ad8aa2cb42648de90966cef904b555f9de9.tar.gz |
Merged Gianluca's truncated-IDs in `be html` output patch.
Or at least merged the general idea. Changes in the implementation
listed in #bea/01e/2f9#.
Diffstat (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs')
3 files changed, 18 insertions, 1 deletions
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/body new file mode 100644 index 0000000..d20af30 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/body @@ -0,0 +1,9 @@ +I'm not sure that changing the URLs is a good idea. I'd rather use +.htaccess and mod_rewrite to redirect short URLs to their permanent +long equivalents. Nobody else seems to mind though, so I've merged +Gianluca's solution with a few changes: + * Since we're truncating bug IDs, truncate comment IDs too. + * Use libbe.util.id._truncate to generate the short IDs, so that `be + html` truncation is consistent with general BE truncation. + * Updated cross-linking code to match. + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/values new file mode 100644 index 0000000..c7365f5 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/comments/2f9beed6-4008-442a-8d44-a45cb7ce0a36/values @@ -0,0 +1,8 @@ +Author: W. Trevor King <wking@drexel.edu> + + +Content-type: text/plain + + +Date: Sat, 20 Feb 2010 18:10:42 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/values index 673423e..9efe209 100644 --- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/values +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/01e7151c-6113-4c8f-9fc5-4d594431bd2b/values @@ -7,7 +7,7 @@ reporter: Gianluca Montecchi <gian@grys.it> severity: minor -status: open +status: fixed summary: Short the files name used by the be html command |