Skip to contentSkip to conversation

cgit repository modification times

Xenomai Daniele Nicolodi 2 participants 12 messages Nov 26, 2013 – Jun 26, 2014

lore
Share & tools
lore
#0 lore raw

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.

Cheers,
Daniele

#1 lore raw
Quoted 6 lines · Daniele Nicolodi

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?

Signature · 1 line
					    Gilles.
#2 lore raw
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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.

Cheers,
Daniele

#3 lore raw
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Signature · 1 line
					    Gilles.
#4 lore raw
Quoted 22 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 8 lines

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? I believe that the difference is that gitweb (which was used before) reports the time of the last push affecting any of the branches, while cgit reporst the time of the last push affecting the master branch only. In my opinion, the gitweb behavior is more consistent with the git data model, but it is not a big deal.

I like to peek at xenomai development from time to time and a quick view on the last time changes are pushed to the repositories was handy, but not essential.

Cheers,
Daniele

#5 lore raw
Quoted 28 lines · Daniele Nicolodi
Quoted 27 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 6 lines
Quoted 3 lines

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).

Signature · 1 line
					    Gilles.
#6 lore raw
Quoted 33 lines · Gilles Chanteperdrix
Quoted 32 lines · Daniele Nicolodi
Quoted 30 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 5 lines
Quoted 2 lines

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.

Cheers,
Daniele

#7 lore raw
Quoted 37 lines · Daniele Nicolodi
Quoted 36 lines · Gilles Chanteperdrix
Quoted 34 lines · Daniele Nicolodi
Quoted 22 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 8 lines

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?

Quoted 6 lines
Quoted 2 lines

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.

Signature · 1 line
					    Gilles.
#8 lore raw
Quoted 41 lines · Gilles Chanteperdrix
Quoted 40 lines · Daniele Nicolodi
Quoted 38 lines · Gilles Chanteperdrix
Quoted 28 lines · Daniele Nicolodi
Quoted 27 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 6 lines
Quoted 3 lines

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).

Quoted 9 lines
Quoted 3 lines

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.

Signature · 1 line
                                                                Gilles.
#9 lore raw
Quoted 7 lines · Gilles Chanteperdrix
Quoted 6 lines · Gilles Chanteperdrix
Quoted 3 lines · Daniele Nicolodi

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.

Quoted 6 lines
Quoted 5 lines

Seems a fix exists:
http://article.gmane.org/gmane.comp.version-control.cgit/1059

Will try tonight.

It should work now.

Thanks!

Cheers,
Daniele

#10 lore raw
In reply to Gilles Chanteperdrix
Quoted 46 lines · Gilles Chanteperdrix
Quoted 45 lines · Gilles Chanteperdrix
Quoted 43 lines · Daniele Nicolodi
Quoted 33 lines · Gilles Chanteperdrix
Quoted 32 lines · Daniele Nicolodi
Quoted 30 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 5 lines
Quoted 2 lines

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.

Quoted 6 lines
Quoted 5 lines

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.

Cheers,
Daniele

#11 lore raw
Quoted 52 lines · Daniele Nicolodi
Quoted 51 lines · Gilles Chanteperdrix
Quoted 50 lines · Gilles Chanteperdrix
Quoted 37 lines · Daniele Nicolodi
Quoted 36 lines · Gilles Chanteperdrix
Quoted 34 lines · Daniele Nicolodi
Quoted 22 lines · Gilles Chanteperdrix
Quoted 12 lines · Daniele Nicolodi
Quoted 10 lines · Gilles Chanteperdrix
Quoted 6 lines · Daniele Nicolodi

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?

Quoted 8 lines

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.

Quoted 8 lines

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?

Quoted 6 lines
Quoted 2 lines

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.

Quoted 7 lines
Quoted 1 line

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.

Signature · 1 line
                                                                Gilles.