Hello everyone,
So bots moved from cockpit-project/cockpit to the separate github project: cockpit-project/bots.
How this impacts working on cockpit: - As bots isn't present any more in cockpit, we added a make target for convenience: `make bots`. `autogen.sh` will also provide `bots/`. - Sadly this also means that any open PRs against cockpit-project/cockpit will need to be rebased on top of master, as the rebase during testing will fail because of conflicts in `bots/`. - Projects like starter-kit, cockpit-ostree, cockpit-podman, and cockpit-composer will continue to work as before. We fixed the Makefiles to get `bots/` from the new project, all PRs landed already except for cockpit-composer. If you work on any of these projects, do `rm -r bots && git pull && make bots`.
Sorry for any inconvenience caused. If you see any funny business don't hesitate to ping me (Gundersanne on irc) in the #cockpit channel.
kind regards, Sanne
Hello,
The session recording cockpit module is a bit behind the cockpit-starter-kit master, so I just cherry-picked the 'Update bots target for moved GitHub project' commit.
Afterwards, 'make bots' works fine but I see this error when bots/image-customize is run from our makefile: https://paste.fedoraproject.org/paste/KxjZfHLcXe3N2d8NBlhDGA
I compared it to the cockpit-starter-kit master Makefile, and it has the same provided argument switches as far as I can tell.
-Justin
Hello Justin,
Justin Stephenson [2019-09-24 10:30 -0400]:
The session recording cockpit module is a bit behind the cockpit-starter-kit master, so I just cherry-picked the 'Update bots target for moved GitHub project' commit.
Afterwards, 'make bots' works fine but I see this error when bots/image-customize is run from our makefile: https://paste.fedoraproject.org/paste/KxjZfHLcXe3N2d8NBlhDGA
I compared it to the cockpit-starter-kit master Makefile, and it has the same provided argument switches as far as I can tell.
I tried to reproduce this:
git clone https://github.com/Scribery/cockpit-session-recording.git cd cockpit-session-recording make TEST_OS=fedora-30 make check
and that works fine -- well, I do get some test failures, but at least the image-customize call was going through.
The most obvious explanation is that `pwd`/cockpit-session-recording-*.noarch.rpm resolves to three instead of one rpm -- so that image-customize would be called with an extra argument. I can replicate the error after
cp cockpit-session-recording-2.1.g45c8d76-1.fc31.noarch.rpm cockpit-session-recording-2.1.g45c8d75-1.fc31.noarch.rpm
Does it work for you if you `rm *.rpm`?
The Makefile should be fixed to include the $(VERSION). I did that in https://github.com/cockpit-project/starter-kit/pull/230 , after that lands you should cherry-pick it into your project.
BTW, "rhel-x" hasn't been a thing for a long time, you probably want to change the default to TEST_OS=rhel-8-1 or perhaps fedora-30.
Thanks for the report!
Martin
Hello Martin,
Sanne replied to me directly and after cleaning my repo with git clean it works fine now, I will go ahead and make updates to our repository as you mentioned.
Thank you!
-Justin
On Fri, Sep 27, 2019 at 9:31 AM Martin Pitt mpitt@redhat.com wrote:
Hello Justin,
Justin Stephenson [2019-09-24 10:30 -0400]:
The session recording cockpit module is a bit behind the cockpit-starter-kit master, so I just cherry-picked the 'Update bots target for moved GitHub project' commit.
Afterwards, 'make bots' works fine but I see this error when bots/image-customize is run from our makefile: https://paste.fedoraproject.org/paste/KxjZfHLcXe3N2d8NBlhDGA
I compared it to the cockpit-starter-kit master Makefile, and it has the same provided argument switches as far as I can tell.
I tried to reproduce this:
git clone https://github.com/Scribery/cockpit-session-recording.git cd cockpit-session-recording make TEST_OS=fedora-30 make check
and that works fine -- well, I do get some test failures, but at least the image-customize call was going through.
The most obvious explanation is that `pwd`/cockpit-session-recording-*.noarch.rpm resolves to three instead of one rpm -- so that image-customize would be called with an extra argument. I can replicate the error after
cp cockpit-session-recording-2.1.g45c8d76-1.fc31.noarch.rpm cockpit-session-recording-2.1.g45c8d75-1.fc31.noarch.rpm
Does it work for you if you `rm *.rpm`?
The Makefile should be fixed to include the $(VERSION). I did that in https://github.com/cockpit-project/starter-kit/pull/230 , after that lands you should cherry-pick it into your project.
BTW, "rhel-x" hasn't been a thing for a long time, you probably want to change the default to TEST_OS=rhel-8-1 or perhaps fedora-30.
Thanks for the report!
Martin _______________________________________________ cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedorahoste...
cockpit-devel@lists.fedorahosted.org