Add Tagging Verification Feature to verifications Branch #65
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to the
verificationsbranch that adds tagging verification functionality forthe
tag-itexercise. The feature includes the following changes:New Exercise
tag-itA new exercise,
tag-it, has been added to the repository. This exercise is designed to help users practice creating and verifying Git tags. See New Exercise: tag-it #67The exercise requires users to create two commits and associate them with specific tags (
v0.1.0andv0.2.0).Verification Logic
The exercise verification logic has been implemented in the TagIt.php file.
The verification ensures:
App/src/Program.csis modified in both commits.v0.1.0&v0.2.0are correctly associated with the respective commits.Updates to
start.shscriptstart.shscript initializes the exercise environment by creating the first commit and tagv0.1.0and setting up the environment for the user to create the second commit and tagv0.2.0. See New Exercise: tag-it #67Other changes
git verifyalias command to support tag pushes for exercise verification. See Enhance git verify alias to support tag pushes for exercise verification #66Rec1.mp4
While testing the
tag-itexercise, I encountered an issue where thegit verifycommand fails with the following error:Rec2.mp4
After thorough investigation, I identified that the root cause of this issue is that the
tag-itbranch exists in my fork but does not exist in the original repository. The server-side hook in the original repository validates the branch name against a predefined list of valid exercises. Since thetag-itbranch is not present in the original repository, the hook rejects the push and does not process the tags.I kindly request that you review this pull request, create a branch named
tag-it, and merge the changes into it. This will allow the exercise to be recognized as a valid exercise by the server-side hook, resolving the verification issue.