[SERVER-21781] Nightly packages are in the wrong repo directories Created: 07/Dec/15  Updated: 23/Nov/16  Resolved: 08/Dec/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.7, 3.2.0
Fix Version/s: 3.0.8, 3.2.1, 3.3.0

Type: Bug Priority: Major - P3
Reporter: Ernie Hershey Assignee: Ernie Hershey
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Build D (12/11/15)
Participants:

 Description   

Now that server version numbers can use the new 'git describe' format, logic in packaging scripts for detecting whether packages are nightlies or not is incorrect.

This code checks if the version ends in a hyphen -
https://github.com/mongodb/mongo/blob/fbb8433c210c2a028fad3524ad6c87817ccff0d8/buildscripts/packager.py#L57-L64

And this code uses that to determine whether to use the release series as the package repo directory or whether to put the package in the "testing" repo directory which should have all RC's and nightlies -
https://github.com/mongodb/mongo/blob/fbb8433c210c2a028fad3524ad6c87817ccff0d8/buildscripts/packager.py#L167-L170



 Comments   
Comment by Githook User [ 08/Dec/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-21781 Improve packaging nightly logic
Branch: master
https://github.com/mongodb/mongo/commit/676a6ade885b0950a52538e64033611dcd640b4d

Comment by Githook User [ 08/Dec/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-21781 Improve packaging nightly logic
Branch: v3.2
https://github.com/mongodb/mongo/commit/0d9b08b7e04e25066677147004cd5660319cbad7

Comment by Bernie Hackett [ 07/Dec/15 ]

When did this version number change happen, and where is the related ticket? This is causing problems with driver test suites.

Comment by Ernie Hershey [ 07/Dec/15 ]

Hi Alex71 - see SERVER-18329 for tracking Debian 8 support.

Comment by Alex [ 07/Dec/15 ]

Is a version for Debian 8 "Jessie" to be expected or should I file an issue for that?

I can find a packaged release only for the old version of Debian.

Comment by Githook User [ 07/Dec/15 ]

Author:

{u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}

Message: SERVER-21781 Improve packaging nightly logic
Branch: v3.0
https://github.com/mongodb/mongo/commit/1d51c1ae74400d940081790789ac5d9a8af30750

Generated at Thu Feb 08 03:58:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.