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)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla17
People
(Reporter: gps, Assigned: gps)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
2.49 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
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?
| Assignee | ||
Comment 1•14 years ago
|
||
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.
Comment 2•14 years ago
|
||
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+
Comment 3•14 years ago
|
||
(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.
| Assignee | ||
Comment 4•14 years ago
|
||
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
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•