[
https://issues.apache.org/jira/browse/HIVE-29125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013287#comment-18013287
]
Raghav Aggarwal edited comment on HIVE-29125 at 8/11/25 7:03 PM:
-----------------------------------------------------------------
Created a Draft PR. Attaching the scripts used in the Jira as attachments.
"_linux" is one which should work without 3-rd party utility like
[fd|https://github.com/sharkdp/fd] and
[rg|https://github.com/BurntSushi/ripgrep].
# In few places like _170266662.md_ has a attachment also named
_themes/hive/static/attachments/170266662/._ Such pages I have not handled. Let
me know if that needs to be handled.
# I have not added _*-*_ as a separator, in draft PR. As there were 101 md
files. This require manual effort :(
{code:java}
dynamicpartitions.md
filterpushdowndev.md
groupbywithrollup.md {code}
# Few pages like, have contributorday2011_27820725.md renamed to
contributorday2011.md Hope this trailing date is ok.
{code:java}
contributorday2011.md
contributorminutes20110907.md
contributorminutes20111205.md
contributorminutes20120418.md
contributorsminutes110726.md
hivecontributorsminutes100601.md
hivecontributorsminutes100706.md{code}
was (Author: JIRAUSER295901):
Created a Draft PR. Attaching the scripts used in the Jira as attachments.
"_linux" is one which should work without 3-rd party utility like
[fd|https://github.com/sharkdp/fd] and
[rg|https://github.com/BurntSushi/ripgrep].
# In few places like _170266662.md_ has a attachment also named
_themes/hive/static/attachments/170266662/._ Such pages I have not handled. Let
me know if that needs to be handled.
# I have not added _*-*_ as a separator, in draft PR. As there were 101 md
files. This require manual effort :(
dynamicpartitions.md
filterpushdowndev.md
groupbywithrollup.md
# Few pages like, haven't been handled as the name shows date in some cases.
{code:java}
contributorday2011.md
contributorminutes20110907.md
contributorminutes20111205.md
contributorminutes20120418.md
contributorsminutes110726.md
hivecontributorsminutes100601.md
hivecontributorsminutes100706.md{code}
> Remove trailing digits from Website URLS
> ----------------------------------------
>
> Key: HIVE-29125
> URL: https://issues.apache.org/jira/browse/HIVE-29125
> Project: Hive
> Issue Type: Task
> Components: Website
> Reporter: Stamatis Zampetakis
> Assignee: Raghav Aggarwal
> Priority: Major
> Labels: pull-request-available
> Attachments: full_digit_repl.sh, full_digit_repl_linux.sh,
> trailing_digit_repl.sh, trailing_digit_repl_linux.sh
>
>
> After the migration of the documentation from the wiki to the Website
> (HIVE-28666) most of the documentation pages
> ([https://hive.apache.org/docs/latest/|https://hive.apache.org/docs/latest/adminmanual_27362071/])
> have trailing digits leading to ugly URLs. Few examples listed below:
> [https://hive.apache.org/docs/latest/adminmanual_27362071/]
> [https://hive.apache.org/docs/latest/howtocontribute_27362107/]
> The digits were used as identifiers for the wiki but now they are completely
> redundant and they just add extra noise.
> The goal of this ticket is to remove all trailing digits from the affected
> pages in order to reduce noise and make the URLs more readable and
> user-friendly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)