How current is zmrepo-centos-testing?

Forum for questions and support relating to the 1.31.x releases only.
Locked
Tantamount
Posts: 76
Joined: Wed Feb 03, 2016 7:51 am

How current is zmrepo-centos-testing?

Post by Tantamount »

How current is the rpm file provided from zmrepo-centos-testing?

The version info suggests it's far behind, but the build date is fairly recent:
Name : zoneminder
Version : 1.31.1
Release : 1.320.20180206gitga177d8e9.el7.centos
Architecture: x86_64
Install Date: Mon 19 Feb 2018 11:03:52 PM PST
Group : System Environment/Daemons
Size : 35911289
License : GPLv2+ and LGPLv2+ and MIT
Signature : RSA/SHA1, Tue 06 Feb 2018 09:40:11 PM PST, Key ID d07cb45027297b34
Source RPM : zoneminder-1.31.1-1.320.20180206gitga177d8e9.el7.centos.src.rpm
Build Date : Tue 06 Feb 2018 02:32:45 PM PST
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How current is zmrepo-centos-testing?

Post by knight-of-ni »

Thanks for keeping an eye on the zmrepo testing repo. It largely runs on its own, but it does have issues from time to time.

The short answer to your question is, yes at the moment you are running the most recent code from the master branch.

Compare the git hash shown in the rpm to the list of commits in the master branch:
https://github.com/ZoneMinder/zoneminder/commits/master

You can see that commit a177d8e was pushed on Feb 6. You can also see that, just last night Feb 19, I pushed a few commits to the master branch to get our buildsystem to crank out deb packages for Raspbian, thanks to qemu emulation. While this will trigger new deb & rpm packages to show up in zmrepo in the next 24 hours, in this case the packages won't contain anything newer than what you already have.

Side Note: If you notice the git hash in the rpm has an extra character. That is the difference between "git describe" and "git rev-parse --short HEAD".
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Tantamount
Posts: 76
Joined: Wed Feb 03, 2016 7:51 am

Re: How current is zmrepo-centos-testing?

Post by Tantamount »

Cool trick -- I saw a date in there, but thought that could also be the build date. I didn't know I could look for the hash.

I've noticed that others here sometimes refer to versions like .34 or .37 -- but I don't see any branches or tags in git. Where do I find where these versions tie back to git?
3 ReoLink RLC-410
2 Annke NC800
Kubernetes 1.22.6 statefulset of 5 Ubuntu 20.04 pods using iconnor's repository
ZoneMinder Version 1.36.12
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: How current is zmrepo-centos-testing?

Post by knight-of-ni »

Those versions you are seeing referenced by others are coming from iconnor's fork. Eventually his work will get merged to master, but we don't know when yet. You might want ask around in the user forum or our irc forum to determine which one of his branches to checkout.

If you want join the beta testing party, you will want to build an rpm first.

There are a couple ways to do that:
http://zoneminder.readthedocs.io/en/lat ... source-rpm

- This method steps you through creating a source rpm from an arbitrary ZoneMinder branch (iconnor's in your case) and then building that source rpm into an rpm using mock

http://zoneminder.readthedocs.io/en/lat ... kpack.html

- This method leverages ZoneMinder's buildsystem on your local machine to build an rpm from an arbitrary ZoneMinder branch. You need to have Docker installed and working as a non-root user to use this method.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Locked