Unexpected output from git describe

You need to run the update as that is way behind the latest version V9.9.8

That may solve the problem.

Brian,

FYI: My version is 9.9.8 and Describe: 9.9.4-247-gd0db7a57.

Hi @Neil, Have you done an update recently? The git descibe suggests that the update has not worked for some reason.

From Setup/Administration I performed both emonPi Update and emonBase Update. The git describe still reads: Describe: 9.9.4-247-gd0db7a57

Please don’t spend too much time for me, I just wanted you to see what I was seeing. I can wait for you experts to resolve the issue.

Have a great day.

Odd.

Could you tell me what your setup is please (EmonPi/EmonBase/EmonSD). Are you comfortable with SSH & git?

If so, please SSH into the system and run

sudo git -C /var/www/emoncms status
sudo git -C /var/www/emoncms describe

and copy and paste the output here please.

Here you go…

    pi@emonpi:~ $ sudo git -C /var/www/emoncms status
    On branch stable
    Your branch is up-to-date with 'origin/stable'.
    Untracked files:
    (use "git add <file>..." to include in what will be committed)
    scripts/logger/logrotate.conf.old
    scripts/logger/logrotate.old
    nothing added to commit but untracked files present (use "git add" to track)
    pi@emonpi:~ $

and…

    pi@emonpi: ~ $ sudo git -C /var/www/emoncms describe
    9.9.4-247-gd0db7a57
    pi@emonpi: ~ $

Most odd.

could you try

 sudo git -C /var/www/emoncms describe --tags --debug

please?

pi@emonpi:~ $ sudo git -C /var/www/emoncms describe --tags --debug
searching to describe HEAD
 lightweight      230 9.9.5
 lightweight      244 9.9.3
 annotated        247 9.9.4
 lightweight      298 V9.9.2
 lightweight      301 v9.9.1
 lightweight      306 v9.9.0
 lightweight      773 9.8.31
 lightweight      855 9.8.30
 lightweight      860 9.8.29
 lightweight      969 9.8.28
traversed 989 commits
more than 10 tags found; listed 10 most recent
gave up search at 782ac11e0c28d6473608045198f6f1ec3178714f
9.9.5-230-gd0db7a57
pi@emonpi:~ $

Try this just to clean up the repository, then the --tags --debug command again

sudo git -C /var/www/emoncms  fetch --all --prune -v

What the output should be is

searching to describe HEAD
 annotated          4 9.9.8
 annotated          9 9.9.7
 lightweight       41 9.9.6
 lightweight      229 9.9.5
 lightweight      243 9.9.3
 annotated        246 9.9.4
 lightweight      297 V9.9.2
 lightweight      300 v9.9.1
 lightweight      305 v9.9.0
 lightweight      756 9.8.31
traversed 839 commits
more than 10 tags found; listed 10 most recent
gave up search at 50c7901bca2ffd2226798bbca8a6bcc78c48f94b
9.9.8-4-gd0db7a57

I ran sudo git -C /var/www/emoncms fetch --all --prune -v
Then sudo git -C /var/www/emoncms describe --tags --debug

Looks good now:

pi@emonpi:~ $ sudo git -C /var/www/emoncms describe --tags --debug
searching to describe HEAD
 annotated          4 9.9.8
 annotated          9 9.9.7
 lightweight       41 9.9.6
 lightweight      229 9.9.5
 lightweight      243 9.9.3
 annotated        246 9.9.4
 lightweight      297 V9.9.2
 lightweight      300 v9.9.1
 lightweight      305 v9.9.0
 lightweight      756 9.8.31
traversed 839 commits
more than 10 tags found; listed 10 most recent
gave up search at 50c7901bca2ffd2226798bbca8a6bcc78c48f94b
9.9.8-4-gd0db7a57
pi@emonpi:~ $

also…

pi@emonpi: ~ $ sudo git -C /var/www/emoncms describe

9.9.8-4-gd0db7a57

pi@emonpi: ~ $

Ah better.

@TrystanLea may be worth adding a git fetch --all --prune to the update script for all repositories just to keep them clean.

1 Like

Hello.

I made the sugested commands/updates and now have:
pi@emonpi:~ $ sudo git -C /var/www/emoncms describe --tags --debug
searching to describe HEAD
annotated 4 9.9.8
annotated 9 9.9.7
lightweight 41 9.9.6
lightweight 229 9.9.5
lightweight 243 9.9.3
annotated 246 9.9.4
lightweight 297 V9.9.2
lightweight 300 v9.9.1
lightweight 305 v9.9.0
lightweight 756 9.8.31
traversed 839 commits
more than 10 tags found; listed 10 most recent
gave up search at 50c7901bca2ffd2226798bbca8a6bcc78c48f94b
9.9.8-4-gd0db7a57

pi@emonpi:~ $ sudo git -C /var/www/emoncms describe
9.9.8-4-gd0db7a57

But the problem of virtual feeds don’t fixe :expressionless:

Problems creating virtual feed after update
Unable to Create a Virtual Feed

No it won’t have. I have suggested a change and that will have to be accepted. Even then it will not be fixed until a new release, unless you change branch with git.

I say your resquest in git.
Regards

It’s a clear regression - I was able to create virtual feeds prior to my latest update and now I can’t - so hopefully it will be fixed soon.