project Websites / Gitlab Issue Listing Script avatar

websites/Gitlab-Issue-Listing-Script#8: Commit references and issue mentions



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker

Milestone: 0.2
Created: 12-Oct-21 16:35



Description

Within comments/notes there might be references to commits or other issues:


Looking into #8

It was caused by commit ffffff


It'd be good if we could parse comments (and issue descriptions I guess) to pick up on those.



Toggle State Changes

Activity


changed the description

Worth noting that both can also be prefixed with a namespace and project


Looking into websites/Gitlab-Issue-Listing-Script#8

It was caused by commit websites/Gitlab-Issue-Listing-Script@ffffff


The underlying API doesn't make any attempt to nicefy these for us.

Where an issue is mentioned in a commit, the note has the full commit reference - those should be relatively easy to find with regex.

mentioned in commit misc/Python_Web_Crawler@c61ec7e9cb4e022f7ae941b8f9b179430bce40ef

What'll be far harder will be where the user has entered a short reference - I think we punt that down the road for now.

Testing having multiple

misc/Python_Web_Crawler@8b2b39bad9b7040ebb8bc347c828155eb2a71dcc

and

misc/Python_Web_Crawler@8b2b39bad9b7040ebb8bc347c828155eb2a71dee

changed the description

verified

mentioned in commit 3ba8de9e96b82ac8f71f9a4fd14d0c7cf38fc697

Commit: 3ba8de9e96b82ac8f71f9a4fd14d0c7cf38fc697 
Author: B Tasker                            
                            
Date: 2021-10-12T18:08:44.000+01:00 

Message

Add support for detecting commit references and linking them out to a local path for websites/Gitlab-Issue-Listing-Script#8

Commit display support hasn't been implemented yet, so the links will give a 404

+44 -9 (53 lines changed)
verified

mentioned in commit 4ddab1442713f7b46b1fcdcf73696128f2292466

Commit: 4ddab1442713f7b46b1fcdcf73696128f2292466 
Author: B Tasker                            
                            
Date: 2021-10-12T18:26:01.000+01:00 

Message

Add support for Issue references to the markdown preprocessing for websites/Gitlab-Issue-Listing-Script#8

+37 -2 (39 lines changed)
verified

mentioned in commit e7f6da3fd7e46c1e42e7809e15bac4d0b04a70ed

Commit: e7f6da3fd7e46c1e42e7809e15bac4d0b04a70ed 
Author: B Tasker                            
                            
Date: 2021-10-12T18:30:30.000+01:00 

Message

Add SEF generation for the commit path. For websites/Gitlab-Issue-Listing-Script#8

+9 -2 (11 lines changed)
verified

mentioned in commit 6c87c56efe51afd1e329ad5e60ac94bfc6e68451

Commit: 6c87c56efe51afd1e329ad5e60ac94bfc6e68451 
Author: B Tasker                            
                            
Date: 2021-10-13T19:38:08.000+01:00 

Message

Add a commit view for websites/Gitlab-Issue-Listing-Script#8

This will only be valid for commits referenced from issues etc - it explicitly isn't intended to list every commit within a project.

+147 -0 (147 lines changed)
verified

mentioned in commit a137946cb80c5f828e3f518de4ccba274865b354

Commit: a137946cb80c5f828e3f518de4ccba274865b354 
Author: B Tasker                            
                            
Date: 2021-10-14T08:57:55.000+01:00 

Message

Add diff to commit view for websites/Gitlab-Issue-Listing-Script#8

I wasn't originally going to add this, but the commit page didn't look right without it

+51 -2 (53 lines changed)
verified

mentioned in commit e33bc779cc19ce9df0ec1b0fc698eefd2dbee862

Commit: e33bc779cc19ce9df0ec1b0fc698eefd2dbee862 
Author: B Tasker                            
                            
Date: 2021-10-14T09:13:12.000+01:00 

Message

Display commit comments for websites/Gitlab-Issue-Listing-Script#8

+41 -0 (41 lines changed)

We now have a view which will show the details of a commit.

Originally, my intention had been that we'd only show these for commits that had been mentioned somewhere, rather than showing all commits within a project.

But, it now feels incomplete (said every person implementing scope creep ever....)

verified

mentioned in commit 9a9898ea82b5f8240311d7b760f69c0dc25f1eed

Commit: 9a9898ea82b5f8240311d7b760f69c0dc25f1eed 
Author: B Tasker                            
                            
Date: 2021-10-14T18:11:51.000+01:00 

Message

Create basic Commit list page for websites/Gitlab-Issue-Listing-Script#8

Can definitely be made to look nicer

+138 -4 (142 lines changed)

We have commit pages and commit listing pages, I'm not sure it's worth going further down the rabbit hole than that.

Closing as Done.