profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mhutchie/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Michael Hutchison mhutchie Sydney, Australia Software Engineer | vscode-git-graph

mhutchie/vscode-git-graph 795

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.

mhutchie/update-milestone-on-release 2

A GitHub action that updates and closes milestones automatically when a matching release is published.

mhutchie/remoteit-api-clients 1

A collection of API clients providing integration with remote.it API's, in a variety of programming languages.

issue commentmhutchie/vscode-git-graph

pin

Hello, anything new on this one ?

caasi-dev

comment created time in 5 hours

issue commentmhutchie/vscode-git-graph

add - copy last tag to clipboard

Hi @mhutchie

Faire enough ^^

rbalet

comment created time in 18 hours

pull request commentmhutchie/vscode-git-graph

#384 View alternate parent changes at merge commits

Hey, I've made all the requested changes. Please review :)

dan1994

comment created time in 20 hours

Pull request review commentmhutchie/vscode-git-graph

#384 View alternate parent changes at merge commits

 class GitGraphView { 			(codeReviewPossible ? '<div id="cdvCodeReview" class="cdvControlBtn">' + SVG_ICONS.review + '</div>' : '') +
 			(!expandedCommit.loading ? '<div id="cdvFileViewTypeTree" class="cdvControlBtn cdvFileViewTypeBtn" title="File Tree View">' + SVG_ICONS.fileTree + '</div><div id="cdvFileViewTypeList" class="cdvControlBtn cdvFileViewTypeBtn" title="File List View">' + SVG_ICONS.fileList + '</div>' : '') +
 			(externalDiffPossible ? '<div id="cdvExternalDiff" class="cdvControlBtn">' + SVG_ICONS.linkExternal + '</div>' : '') +
+			(loadedParents.length > 1 ? '<div id="cdvParentToggle" class="cdvControlBtn" title="Toggle Parent">' + SVG_ICONS.merge + '</div>' : '') +

Just to clarify, what do you mean by "subject if available"?

For example, the context menu options could be something like: <parent-index> <abbrev-parent-hash>: <subject-if-available>

Do you mean something like commitDetails.body.split("\n")[0], and make sure it's not empty so there won't be a colon at the end?

dan1994

comment created time in a day

Pull request review commentmhutchie/vscode-git-graph

#384 View alternate parent changes at merge commits

 class GitGraphView { 			(codeReviewPossible ? '<div id="cdvCodeReview" class="cdvControlBtn">' + SVG_ICONS.review + '</div>' : '') +
 			(!expandedCommit.loading ? '<div id="cdvFileViewTypeTree" class="cdvControlBtn cdvFileViewTypeBtn" title="File Tree View">' + SVG_ICONS.fileTree + '</div><div id="cdvFileViewTypeList" class="cdvControlBtn cdvFileViewTypeBtn" title="File List View">' + SVG_ICONS.fileList + '</div>' : '') +
 			(externalDiffPossible ? '<div id="cdvExternalDiff" class="cdvControlBtn">' + SVG_ICONS.linkExternal + '</div>' : '') +
+			(loadedParents.length > 1 ? '<div id="cdvParentToggle" class="cdvControlBtn" title="Toggle Parent">' + SVG_ICONS.merge + '</div>' : '') +

This is what I implemented first, but the context menu wouldn't work. I was about to write you quite a lengthy message when I figured out that if I use left click to open a menu it would open and then immediately close as left click also triggered the closing code. This made me switch to the current toggle implementation.

Since then, I've ran into Event.stopPropagation which may be the correct solution here, but I would like to hear your opinion.

dan1994

comment created time in a day

pull request commentmhutchie/vscode-git-graph

#384 View alternate parent changes at merge commits

My bad then, I'll ask next time.

dan1994

comment created time in a day

issue commentmhutchie/vscode-git-graph

add - copy last tag to clipboard

Hi @mhutchie If you need help for this one, you can point me out where to start and I'll make you a merge request.

rbalet

comment created time in a day

pull request commentmhutchie/vscode-git-graph

#384 View alternate parent changes at merge commits

Hey @mhutchie, I've noticed you haven't reviewed my branch yet. Would you have time for that soon?

dan1994

comment created time in a day

startedmhutchie/vscode-git-graph

started time in a day

startedmhutchie/vscode-git-graph

started time in a day

pull request commentmhutchie/vscode-git-graph

#462 Add "CI/CD Status" column

Hello. @mhutchie

I understood your point of view. I think this limitation is not acceptable. User mislead is reduce quality of this extention.

In this time, I will change this PR only show the build statuses in the Commit Details View. In the future, if we found the way to work around this (with the GitHub API’s, or others), I'd like to add CI/CD column. 😀

keydepth

comment created time in 2 days

startedmhutchie/vscode-git-graph

started time in 2 days

pull request commentmhutchie/vscode-git-graph

#462 Add "CI/CD Status" column

Hello! @mhutchie Now I’m creating testcase for cicdManager.ts It's like a avatarManager.test.ts.

I'd assume these are because only GitHub Action statuses are currently being fetched when the view is loaded.

I used GitHub API "/repos/{owner}/{repo}/actions/runs". This API can take lists all workflow runs for a repository. It seems a reasnable API to get action results for reduce API call. But this API couldn't get external result of CI/CD. (This time is Azure Pilelines) https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository

To get external result of CI/CD, I found another GitHub API "/repos/{owner}/{repo}/commits/{ref}/check-runs". This API can take list check runs for a Git reference (by each commit hash). And can get external result of CI/CD. But it's not reasnable way to get each commit action results. (it's need too many API calls.) https://docs.github.com/en/rest/reference/checks#list-check-runs-for-a-git-reference

So, I used actions/runs in overview table and check-runs in detail view. Is this solution acceptable?

keydepth

comment created time in 4 days

startedmhutchie/vscode-git-graph

started time in 4 days

startedmhutchie/vscode-git-graph

started time in 7 days

issue commentmhutchie/vscode-git-graph

Refresh built-in SCM panel / other Git UI automatically

🤦‍♂️ and I promise I searched the issues! Sorry & thanks for the reply.

borekb

comment created time in 7 days

issue openedmhutchie/vscode-git-graph

Refresh built-in SCM panel / other Git UI automatically

Sometimes, Git actions done via Git Graph are only reflected by the built-in Git support (e.g., the SCM sidebar / panel) after I manually click Refresh there. It doesn't always happen but it's something I'm encountering encountered regularly during my day-to-day work so I thought I'd report it here.

Not sure if this extensions can do anything about it, maybe it calls all the relevant APIs already (if there are any, I don't really know!).

created time in 7 days

issue commentmhutchie/vscode-git-graph

Add Issue linking by branch name (Optional)

Yes really useful I think, thanks you. For the moment, I just use a custom script in the commit-msg in each of my .git local repo.

shiipou

comment created time in 7 days

issue openedmhutchie/vscode-git-graph

Add Issue linking by branch name (Optional)

Describe the feature that you'd like On all my repo in my organization, issue linking is made by branch name. This is the case for a lot of people, so I post my idea here : It can be really useful to automatically link any commit of a branch to an issue by regex. (It can be done by automatically suffix the commit message by #18)

I hope this idea can help many people to became a lot more productive.

Additional context (optional) Example : image image

created time in 7 days

startedmhutchie/vscode-git-graph

started time in 8 days

startedmhutchie/vscode-git-graph

started time in 8 days

startedmhutchie/vscode-git-graph

started time in 9 days

pull request commentmhutchie/vscode-git-graph

#132 Add sticky header option

Well... It's almost done. There is a small issue: the scrollbar reaches the top of the page but it should finish under the header. It's not fixable but it doesn't affect usability. I couldn't find any other issue. I should test in different scenarios but I don't know all of the features of this extension and I can't test on Mac. I need a checklist or somebody who does this e2e testing for me. So, I've put aside this ticket. Yes, procrastination is my best friend.

Anyway, I've updated my forked branch and attached a build from it. git-graph-1.31.0-alpha.0.zip

bendera

comment created time in 9 days

startedmhutchie/vscode-git-graph

started time in 9 days

startedmhutchie/vscode-git-graph

started time in 10 days

startedmhutchie/vscode-git-graph

started time in 10 days

pull request commentmhutchie/vscode-git-graph

#132 Add sticky header option

Hi, is this still being worked on? It would be great to see it implemented.

bendera

comment created time in 10 days

startedmhutchie/vscode-git-graph

started time in 11 days

pull request commentmhutchie/vscode-git-graph

#462 Add "CI/CD Status" column

Hello! @mhutchie

Thank you for your review and great comment. Now I'm goint to implement the feature. And I'll check the code I wrote to production-ready state. :)

I want you the idea of (5) tokens encryption, My idea is below...

  1. Create and save internal password in Momento by getNonce().
  2. Encrypto and Decrypto by crypto.createCipheriv(). like this https://gist.github.com/vlucas/2bd40f62d20c1d49237a109d491974eb

Is this method acceptable?

keydepth

comment created time in 11 days

pull request commentmhutchie/vscode-git-graph

Use custom diff tool

Hi, I could implement some things you mentioned but since I actually do not have so much time, I cannot implement everything.

It would be very kind if you are fine with this approach and upload it to the official version because I really would like to use it. Thanks! :-)

JimmyBondie

comment created time in 12 days