dlang.org endpoint for permanent links to DIPs

Seb seb at wilzba.ch
Wed Jun 3 14:48:22 UTC 2020


On Wednesday, 3 June 2020 at 14:44:18 UTC, Mike Parker wrote:
> On Wednesday, 3 June 2020 at 12:29:09 UTC, Dennis wrote:
>> Given an issue number, getting the URL for that issue is not 
>> hard. Just put it into this string:
>> https://issues.dlang.org/show_bug.cgi?id=#####
>>
>> DIPs, however, have it harder. Early DIPs are at:
>>
>> https://wiki.dlang.org/DIP##
>>
>> DIPs above 1000 under review can be found like this:
>>
>> https://github.com/dlang/DIPs/blob/master/DIPs/DIP####.md
>>
>> But after review, it will be moved to sub folders like 
>> 'accepted', 'rejected' and 'other'. Consequently, links to 
>> DIPs can easily become dead, for example:
>>
>> https://github.com/dlang/dmd/pull/10817
>>
>> You can use a permanent link to a commit on GitHub, but those 
>> are very long and refer to the DIP at that moment, not the 
>> most recent version.
>>
>
> Permanent links to the DIPs are all here:
>
> https://github.com/dlang/DIPs/blob/master/DIPs/README.md

Dennis is talking about the fact that if you link to a DIP under 
review the link while cease to work once its status changes as 
the document has been moved to a different folder.


More information about the Digitalmars-d mailing list