[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mr up not fetching repositories it should fetch



Hi,

I am having troubles keeping all the group's repositories updated. 
I double-checked with git.html and everything looks as it should.

The problem seems to be that 'mr up' skips repositories it should not 
skip. When I run 'gbp pull' in them, there are new commits fetched.

Example:

$ ./compare-lastactivity libgd-text-perl --debug
D: Working on package 'libgd-text-perl' ...
D:  Last activity at salsa: 2021-01-22T20:23:53Z
D:  Last fetch in repo: 2021-11-04T13:42:45Z

$ stat .git/FETCH_HEAD
  File: .git/FETCH_HEAD
  Size: 2055      	Blocks: 8          IO Block: 4096   regular file
Device: 2eh/46d	Inode: 1037725     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/     dam)   Gid: ( 1000/     dam)
Access: 2016-11-09 20:22:16.102958000 +0200
Modify: 2019-09-15 14:56:51.696968093 +0300
Change: 2021-11-04 15:42:45.072112725 +0200
 Birth: 2021-11-04 15:42:45.072112725 +0200

$ gbp pull
gbp:info: Fetching from default remote for each branch
gbp:info: Updating 'master': c15d9f4d1561..812d0f55dead
gbp:info: Branch 'pristine-tar' is already up to date.
gbp:info: Branch 'upstream' is already up to date.

compare-lastactivity looks at the ctime (i-node/metadata change time). 
Perhaps it should look at the mtime (data change time)?

The filesystem where the repositories reside is mounted with the 
'relatime' option and perhaps this has some side effects not 
considered by compare-lastactivity?

Thanks for any insights,
    Damyan


Reply to: