No need for script to find these.  Google advanced query can do it:

Use the query to find these links: [site:issues.apache.org link:
git-wip-us.apache.org/repos/asf/incubator-calcite]

And this query to find non-JIRA links of the same kind:

[-site:issues.apache.org link:
git-wip-us.apache.org/repos/asf/incubator-calcite]

(the []'s are to quote the query, not part of it)


On Fri, Oct 30, 2015 at 1:11 PM, Julian Hyde <[email protected]> wrote:

> I’d rather make a clean break with the old URLs, so no one gets the
> impression that we are still in the incubator. That would mean finding and
> fixing such URLs in JIRA. Is JIRA scriptable?
>
> I’ve logged https://issues.apache.org/jira/browse/CALCITE-946 to track;
> let’s discuss there.
>
> Julian
>
>
>
> > On Oct 30, 2015, at 12:41 PM, Josh Elser <[email protected]> wrote:
> >
> > Alexander Reshetov wrote:
> >> On Tue, Oct 27, 2015 at 11:01 PM, Julian Hyde<[email protected]>  wrote:
> >>> Please let me know if things don’t work as expected. Also please check
> the web site to make sure that we’ve removed ‘.incubating’ and
> ‘(incubating)’ where necessary.
> >>
> >> I noticed that old links to gitweb now broken.
> >> For example in Jira (e.g. in
> >> https://issues.apache.org/jira/browse/CALCITE-71). It contains link
> >>
> http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/2709896e
> >>
> >> Which returns 404. In such links "incubator-calcite" should be
> >> replaced with just "calcite".
> >> i.e. link should be:
> >> http://git-wip-us.apache.org/repos/asf/calcite/commit/2709896e
> >>
> >> Maybe could be created HTTP redirection from incubator-calcite to
> calcite?
> >
> > We could probably ask INFRA. I don't recall ever seeing that done
> before, but that doesn't mean they can't/won't :)
>
>

Reply via email to