We have the first commit process via git into FreshPorts. Details in this git comment.
Work remaining:
- check out that commit into the working copy of the files
- run make -V on the working copy to get the refreshed values for the port[s] affected by this commit
The 2nd part – very little code change.
The 1st part is just playing with git.
My thanks to Sergey Kozlov for his code which creates the XML FreshPorts needs for commit processing. That has been a great timesavings to me.
I was testing today. This will get me to this point in the ports tree:
[dvl@cuppy:~/src/git-freebsd-ports] $ git checkout eca78f2d49ab515b909c43e4444c663fa3777a4b
Note: switching to ‘eca78f2d49ab515b909c43e4444c663fa3777a4b’.
You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch –
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at eca78f2d49ab mail/thunderbird: update to 68.1.1
I confirmed this by looking at the port for a commit right after this.
I can go back to head via: git checkout master
For the quarterly branch, I will use a separate clone, then do this:
[dvl@cuppy:~/src/git-freebsd-ports] $ git checkout origin/branches/2019Q3
Updating files: 100% (17717/17717), done.
Note: switching to ‘origin/branches/2019Q3’.
You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch –
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at a9fac601b835 MFH: r512057