Closed Bug 774736 Opened 14 years ago Closed 14 years ago

Don't use $(shell) for Sync's version

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: gps, Assigned: gps)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

services/sync/Makefile.in is using a $(shell) to obtain the Sync version number: WEAVE_VERSION = $(shell cat $(topsrcdir)/services/sync/version.txt) AFAICT, we only reference version.txt from Makefile.in. So, I think we can delete version.txt and just store the version string in Makefile.in. rnewman/philikon: am I missing other consumers of version.txt?
I removed version.txt and performed some cosmetic cleanup while I was here. The version incremented because we haven't done that since the Firefox 17 switchover yet (rnewman or I does that every release - we have a bug on file to get the tree people to do it when they make a new release). This file also needs some love to fix the libs:: abuse. That is the work of bug 759487.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Attachment #643024 - Flags: review?(mh+mozilla)
Comment on attachment 643024 [details] [diff] [review] Remove version.txt, general cleanup Review of attachment 643024 [details] [diff] [review]: ----------------------------------------------------------------- ::: services/sync/Makefile.in @@ +10,5 @@ > > include $(DEPTH)/config/autoconf.mk > > # Definitions used by constants.js. > +weave_version := 1.19.0 Why do you change the version number? r=me with this sorted out.
Attachment #643024 - Flags: review?(mh+mozilla) → review+
(In reply to Mike Hommey [:glandium] from comment #2) > Comment on attachment 643024 [details] [diff] [review] > Remove version.txt, general cleanup > > Review of attachment 643024 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: services/sync/Makefile.in > @@ +10,5 @@ > > > > include $(DEPTH)/config/autoconf.mk > > > > # Definitions used by constants.js. > > +weave_version := 1.19.0 > > Why do you change the version number? > r=me with this sorted out. Ah, didn't see comment 1.
https://hg.mozilla.org/integration/mozilla-inbound/rev/b62f77f85ea4 I also removed the empty line at the top of the file. Thank you for the very quick review!
Target Milestone: --- → mozilla17
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: