Skip to content

Conversation

@rcsanchez97
Copy link
Contributor

Task-specific Evergreen patch build: https://spruce.mongodb.com/version/65986bbec9ec44bb3305b63b/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

@kevinAlbs I am requesting your review on this since the biggest change here is a modified cherry-pick of this commit that you authored.

* add simple `Version` class * add self test of version sorting * revise self-test comment * update version in self-test This is a slightly modified cherry-pick of: mongodb/mongo-c-driver@2bf9d59
@rcsanchez97 rcsanchez97 requested a review from kevinAlbs January 5, 2024 21:05
@rcsanchez97
Copy link
Contributor Author

Also, I'd like to cherry-pick this to releases/v3.9 after merging.

@kevinAlbs
Copy link
Collaborator

The patch attached to the PR failed:

[2024/01/05 16:32:14.378] ERROR: Command failed: [2024/01/05 16:32:14.378] # /usr/bin/dnf-3 --installroot /var/lib/mock/fedora-rawhide-aarch64/root/ --releasever 40 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install rpmdevtools git rpm-build cmake libutf8proc-devel boost-devel openssl-devel cyrus-sasl-devel libbson-devel mongo-c-driver-devel snappy-devel gcc-c++ libzstd-devel 

Is that expected to be resolved after merging?

@rcsanchez97
Copy link
Contributor Author

I am actually not sure why it succeeded in my manual patch build but is failing now in the triggered patch build. I'm trying to see if I can work out the precise cause.

@rcsanchez97
Copy link
Contributor Author

@kevinAlbs I'm still not entirely sure why it failed, because I would have expected it to be only about the version number in the spec file, but I also had to adjust the dependencies as well. Either way, it's ready for review now.

@rcsanchez97 rcsanchez97 merged commit ee24d08 into mongodb:master Jan 9, 2024
@rcsanchez97 rcsanchez97 deleted the fix_rpm-package-build branch January 9, 2024 22:00
rcsanchez97 added a commit that referenced this pull request Jan 9, 2024
* use Fedora 40 for rpm-package-build task * update RPM spec patch * A slightly modified cherry-pick of: mongodb/mongo-c-driver@2bf9d59 - Define `Version` in `calc_release_version.py` - add simple `Version` class - add self test of version sorting - revise self-test comment - update version in self-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants