Closed Bug 632581 Opened 14 years ago Closed 14 years ago

when doing make build_rpms TAG=x-y, refuse to default any tags to tip

Categories

(Cloud Services :: Server: Other, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: tarek)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

When any tag is specified, please require all tags to be specified. This ensures that we don't get a mix of tag and tip when building rpms for production. "cd server-full; make build_rpms SERVER_CORE=rpm-0.12-1" should fail, because no tag was provided for the storage/reg components. And: "cd server-key-exchange; make build_rpms SERVER_KEY_EXCHANGE=rpm-0.1-3" should fail, because no tag was provided for the key exchange component. Please also say which tags are missing, so that we know what to go look up in the changelog. For developer purposes you may wish to add special handling for the tag name 'tip', to override this check.
Attached patch new builder (obsolete) — Splinter Review
Here's a first version of the builder. 1/ implements LATEST_TAGS=1 2/ controls that if you give a tag, you give all of them. Exits if not with info 3/ controls that the given tag really exists. Exits if not.with info 4/ uses a bootstrap that checks for a new version of the builder online if possible, and update the current one The server-side uses ETags for this.
Attachment #511351 - Flags: review?(rsoderberg)
Attached patch new builderSplinter Review
updated
Attachment #511351 - Attachment is obsolete: true
Attachment #511352 - Flags: review?(rsoderberg)
Attachment #511351 - Flags: review?(rsoderberg)
Comment on attachment 511352 [details] [diff] [review] new builder python isn't my best language but it seems like this matches the description really well :) thanks!
Attachment #511352 - Flags: review?(telliott)
Attachment #511352 - Flags: review?(rsoderberg)
Attachment #511352 - Flags: feedback+
Comment on attachment 511352 [details] [diff] [review] new builder Let's put JR on this review instead, since Toby is on vacation.
Attachment #511352 - Flags: review?(telliott) → review?(jrconlin)
Comment on attachment 511352 [details] [diff] [review] new builder reviewed as best I can on a phone. looks good.
Attachment #511352 - Flags: review?(jrconlin) → review+
Done in http://hg.mozilla.org/services/server-key-exchange/rev/0a4bd43adfa6 I am not closing this bug because I need to update other repos servers as well with the new script. Next updates will be automatic.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: