Open softeng-701 opened 5 years ago
I spent a lot of time trying to figure out how to do this ticket, and ran into a few issues on the way. Just going to document what I tried and learned from it here:
I first spent some time figuring out how to implement a way for users to add a tag. I figured this would take place in the same modal that pops up when a user clicks a commit on the graph screen.
This was where I had the most trouble.
the requested type does not match the type in the ODB
. It appears this issue comes from the fact that somewhere in the code, we are looking for a TAG object by commit, which causes a mismatch. (See https://github.com/nodegit/nodegit/issues/953).After a lot of time debugging and further google searching, I was unable to fix this, and ended up working on other things.
Please find my attempt at changing this here: https://github.com/Ravid12/VisualGit_SE701_2019_1/tree/feature/29-raha837-add-tagging-support
Feature request:
Add support for tagging commits in the past and/or the current commit that has yet to be pushed. This will allow users to mark important points in their repository for example "v1.0" without needing to search for a certain commit message/checksum. Users should also be able to view the tags on the main page.