prosody-docker-extended icon indicating copy to clipboard operation
prosody-docker-extended copied to clipboard

check_prosody_update script does not recognize MINOR version change

Open unclev opened this issue 5 years ago • 1 comments

Executing check_prosody_update script finds no new version:

$ docker run --rm --user root unclev/prosody-docker-extended:stable check_prosody_update
++ id -u
++ id -u prosody
+ [[ 0 -eq 1000 ]]
+ exec check_prosody_update

based on the result of the above check it does not initiate rebuilding the image, - the prosody version remains outdated

$ docker run --rm --user root unclev/prosody-docker-extended:stable prosody | head -1                                                                                                                                                                                           
++ id -u
++ id -u prosody
+ [[ 0 -eq 1000 ]]
+ exec prosody
general             info        Hello and welcome to Prosody version 0.10.2
write /dev/stdout: broken pipe

whereas the actual stable version is newer:

$ docker run --rm --user root unclev/prosody-docker-extended:stable bash -c "apt update -qq && apt search prosody"                                                                                                                                                              
...
Full Text Search...
prosody/unknown 0.11.2-1~xenial1 amd64 [upgradable from: 0.10.2-1~xenial1]
  Lightweight Jabber/XMPP server
...

unclev avatar Mar 03 '19 08:03 unclev

With Use "apt" to check prosody update

  • master 4ac95b4b0c277c261e01f27c1c7eb97d556fc594
  • trunk 3639c6e5e76e1e6939d6e4bcbcafc82ba17c4218
  • 0.9 281cf75962a22c6c99b83d84608b9b99c6cdeead
  • 0.10 99e15af8e50a0aff7c906f0be48239b2b900f188
  • 0.11 3f1741a9d6a762fc257b4c20b09427d990bb34c6
  • disco/0.11 faa3a2894b91ebfde69a043f8706efe3afc6f62b
  • disco/trunk 18a20aafd8c695a6e5994b6ad4a4e3c2e72c2219
  • experimental/trunk 913f3704015fccb8a10ed53a8a4eeb5a2f6d36df

it should be working now.

This issue waits for upgrade from 0.11 to 0.12. to be finally tested. 😄.

unclev avatar Jul 08 '19 07:07 unclev