[Xenomai] cgit repository modification times

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Thu Jun 26 19:23:12 CEST 2014


On 06/26/2014 02:46 PM, Daniele Nicolodi wrote:
> On 27/11/2013 00:37, Gilles Chanteperdrix wrote:
>> On 11/26/2013 03:42 PM, Gilles Chanteperdrix wrote:
>>> On 11/26/2013 03:33 PM, Daniele Nicolodi wrote:
>>>> On 26/11/2013 15:27, Gilles Chanteperdrix wrote:
>>>>> On 11/26/2013 03:12 PM, Daniele Nicolodi wrote:
>>>>>> On 26/11/2013 15:05, Gilles Chanteperdrix wrote:
>>>>>>> On 11/26/2013 02:59 PM, Daniele Nicolodi wrote:
>>>>>>>> On 26/11/2013 14:50, Gilles Chanteperdrix wrote:
>>>>>>>>> On 11/26/2013 02:40 PM, Daniele Nicolodi wrote:
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I've noticed that the new cgit web interface to the git repositories
>>>>>>>>>> does not display the correct modification times for the repository in
>>>>>>>>>> the repository list.  I don't know what may cause this, the displayed
>>>>>>>>>> times seems completely arbitrary to me.
>>>>>>>>>
>>>>>>>>> Maybe that is because the time displayed in the repository list is not
>>>>>>>>> the modification time, but the idle time, as the title line indicates?
>>>>>>>>
>>>>>>>> Sorry, wrong choice of words on my side. I believe that the idle time is
>>>>>>>> defined as (current time) - (modification time). Isn't it?
>>>>>>>
>>>>>>>>
>>>>>>>> Still, for example, the xenomai-force repository has two branches:
>>>>>>>> "master" and "next", for which cgit shows an "Age" (which I believe
>>>>>>>> should be interpreted in the same way as "Idle") of respectively 24
>>>>>>>> hours and 3 weeks.  The "Idle" field in the repository list reports 11 days.
>>>>>>>
>>>>>>> It seems you are mixing the time when the last push occurred with the
>>>>>>> time when the last commit occurred, with git the two are not necessarily
>>>>>>> correlated. If you look at other projects using cgit, kernel.org for
>>>>>>> instance, you will find the same disparities.
>>>>>>>
>>>>>>> In the case of Xenomai, most of the repositories appear to have been
>>>>>>> pushed 11 days ago because this is the time when the repositories were
>>>>>>> cloned from the old xenomai server to the new xenomai server.
>>>>>>
>>>>>> I know, but how is it possible that a changeset has been pushed before
>>>>>> being committed?
>>>>>
>>>>> Indeed, that is strange, I will look at it. Maybe we miss some hooks
>>>>> (like git-update-server).
>>>>
>>>> I think it is due to the fact that only the master branch of each
>>>> repository is looked at.  I checked on gnome.org cgit instance and it
>>>> shows the same behavior.  I don't know if it is configurable.
>>>
>>> Seems a fix exists:
>>> http://article.gmane.org/gmane.comp.version-control.cgit/1059
>>>
>>> Will try tonight.
>>>
>> It should work now.
> 
> 
> Hello,
> 
> it seems that the generation of the cgit index page broke down recently,
> the last update time is 2014-06-21 05:18:50.

Indeed, it should be fixed now.

-- 
                                                                Gilles.




More information about the Xenomai mailing list