[wp-meta] [Making WordPress.org] #3058: Missing commits from the bbPress Git mirror

Making WordPress.org noreply at wordpress.org
Thu Dec 16 06:37:45 UTC 2021


#3058: Missing commits from the bbPress Git mirror
-----------------------------+-------------------------
 Reporter:  netweb           |       Owner:  (none)
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Version Control  |  Resolution:  worksforme
 Keywords:                   |
-----------------------------+-------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Went to take a look if this is still an issue.. it is, but it's not.

 Some "null commits" such as
 https://bbpress.trac.wordpress.org/changeset/31 don't show up in git
 because well.. they can't.. there's nothing there.

 But the original command here only covered commits to `trunk` rather than
 to branches.

 Eg:
 {{{
 $ git remote -v
 origin  git://bbpress.git.wordpress.org/ (fetch)
 origin  git://bbpress.git.wordpress.org/ (push)

 $ git shortlog -s | cut -f1 | paste -s -d+ - | bc
 6409

 $ git shortlog -s --all | cut -f1 | paste -s -d+ - | bc
 7283

 $ svn log https://bbpress.svn.wordpress.org --limit 1 | grep ^r
 r7229 | johnjamesjacoby | 2021-11-29 15:28:59 +0000 (Mon, 29 Nov 2021) | 3
 lines
 }}}

 So based on that, there's MORE commits to Git than to SVN.. which is
 probably due to commits to multiple branches in SVN being multiple commits
 in git?

 Which is confirmed by:
 {{{
 $ git log --all 2>&1 | grep 'git-svn-id' | cut -d: -f2-3 | cut -d' ' -f2 |
 cut -d'@' -f2 | sort | uniq -c | sort  | tail -n10
       2 1790
       2 1900
       2 1901
       2 5446
       2 5611
       2 5970
       2 5990
       2 6825
       3 5698
       5 5690
 }}}

 https://bbpress.trac.wordpress.org/changeset/5690 is referenced by 5 Git
 commits, as it touched 5 different git branches.

 Closing as worksforme. Re-open if you can point to a missing commit.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3058#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list