on develop help sign in
Renaming
commit0111d28f6706d1dc258edbc256a13e7f049904c9 authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 26 Sep 2015, 07:14 (11 years ago) parent6cf3c41
14 files changed+49−52
.gitignore+1−1 Makefile+5−5 README.md+3−3 core/README.md+3−3 core/gozen-core.cabal → core/gogol-core.cabal+8−8 gen/Makefile+9−9 gen/gozen-gen.cabal → gen/gogol-gen.cabal+5−5 gen/src/Gen/Text.hs+1−1 gen/template/cabal.ede+4−4 gozen/LICENSE → gogol/LICENSE gozen/README.md → gogol/README.md+3−3 gozen/gozen.cabal → gogol/gogol.cabal+5−5 stack-7.8.4.yaml+1−2 stack.yaml+1−3
.gitignore+1−1
@@ -37,4 +37,4 @@ tags
3737*.pem
3838
3939# Temporary
40−/gozen-*
40+/gogol-*
Makefile+5−5
@@ -1,5 +1,5 @@
1−SERVICES ?= $(wildcard gozen-*)
2−LIBRARIES ?= core gozen $(SERVICES)
1+SERVICES ?= $(wildcard gogol-*)
2+LIBRARIES ?= core gogol $(SERVICES)
33FORWARD := sdist upload
44
55build:
@@ -21,11 +21,11 @@ $(foreach c,$(FORWARD),$(eval $(call forward, $c)))
2121
2222.PHONY: $(LIBRARIES)
2323
24−gozen:
25− stack build gozen
24+gogol:
25+ stack build gogol
2626
2727core:
28− stack build gozen-core
28+ stack build gogol-core
2929
3030$(SERVICES):
3131 stack build $@
README.md+3−3
@@ -1,4 +1,4 @@
1−# Gozen
1+# Gogol
22
33* [Description](#description)
44* [Contribute](#contribute)
@@ -12,9 +12,9 @@
1212
1313## Contribute
1414
15−For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gozen/issues).
15+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gogol/issues).
1616
1717
1818## Licence
1919
20−Gozen is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
20+Gogol is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
core/README.md+3−3
@@ -1,4 +1,4 @@
1−# Gozen Core
1+# Gogol Core
22
33* [Description](#description)
44* [Contribute](#contribute)
@@ -12,9 +12,9 @@
1212
1313## Contribute
1414
15−For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gozen/issues).
15+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gogol/issues).
1616
1717
1818## Licence
1919
20−Gozen is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
20+Gogol is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
core/gozen-core.cabal → core/gogol-core.cabalrenamed+8−8
@@ -1,8 +1,8 @@
1−name: gozen-core
1+name: gogol-core
22version: 0.0.1
3−synopsis: Core data types and functionality for Gozen libraries.
4−homepage: https://github.com/brendanhay/gozen
5−bug-reports: https://github.com/brendanhay/gozen/issues
3+synopsis: Core data types and functionality for Gogol libraries.
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
66license: OtherLicense
77license-file: LICENSE
88author: Brendan Hay
@@ -15,15 +15,15 @@ cabal-version: >= 1.10
1515
1616description:
1717 Core data types, functionality and serialisation primitives for
18− Gozen related Google Services SDKs.
18+ Gogol related Google Services SDKs.
1919 .
2020 The external interface of this library is stable with respect to the
21− downstream Gozen libraries, only, and as such is not suitable
22− for use in non-Gozen projects.
21+ downstream Gogol libraries, only, and as such is not suitable
22+ for use in non-Gogol projects.
2323
2424source-repository head
2525 type: git
26− location: git://github.com/brendanhay/gozen.git
26+ location: git://github.com/brendanhay/gogol.git
2727
2828flag old-locale
2929 description: Use old-locale and time < 1.5
gen/Makefile+9−9
@@ -8,18 +8,18 @@ define version =
88$(shell sed -n 's/^version: *\([0-9]*\.[0-9]*\.[0-9]\).*$$/\1/p' $(1))
99endef
1010
11−VERSION = $(shell sed -n 's/^version: *\(.*\)$$/\1/p' gozen-gen.cabal)
12−CORE_VERSION = $(call version,$(TOP)/core/gozen-core.cabal)
13−CLIENT_VERSION = $(call version,$(TOP)/gen/gozen-gen.cabal)
11+VERSION = $(shell sed -n 's/^version: *\(.*\)$$/\1/p' gogol-gen.cabal)
12+CORE_VERSION = $(call version,$(TOP)/core/gogol-core.cabal)
13+CLIENT_VERSION = $(call version,$(TOP)/gen/gogol-gen.cabal)
1414
1515MODELS ?= $(shell find $(MODEL_DIR) -type f -name '*.json' | sort)
1616
17−.PHONY: $(BIN)/gozen-gen gen format
17+.PHONY: $(BIN)/gogol-gen gen format
1818
1919release: gen format
2020
21−gen: $(BIN)/gozen-gen $(MODEL_DIR)
22− $(BIN)/gozen-gen \
21+gen: $(BIN)/gogol-gen $(MODEL_DIR)
22+ $(BIN)/gogol-gen \
2323 --out=$(OUT_DIR) \
2424 --library-version=$(VERSION) \
2525 --client-version=$(CLIENT_VERSION) \
@@ -31,14 +31,14 @@ gen: $(BIN)/gozen-gen $(MODEL_DIR)
3131
3232format:
3333 @echo -e '\nFormatting...'
34− @find $(wildcard $(OUT_DIR)/gozen-*/gen) \
34+ @find $(wildcard $(OUT_DIR)/gogol-*/gen) \
3535 -type f \
3636 -name '*.hs' \
3737 -printf ' -> %p\n' \
3838 -exec stylish-haskell -i {} \;
3939
40−$(BIN)/gozen-gen: $(BIN)
41− stack build gozen-gen --copy-bins --local-bin-path $(BIN)
40+$(BIN)/gogol-gen: $(BIN)
41+ stack build gogol-gen --copy-bins --local-bin-path $(BIN)
4242
4343$(BIN):
4444 mkdir $@
gen/gozen-gen.cabal → gen/gogol-gen.cabalrenamed+5−5
@@ -1,7 +1,7 @@
1−name: gozen-gen
1+name: gogol-gen
22version: 0.0.1
3−synopsis: Gozen Code Generator
4−homepage: https://github.com/brendanhay/gozen
3+synopsis: Gogol Code Generator
4+homepage: https://github.com/brendanhay/gogol
55license: OtherLicense
66license-file: LICENSE
77author: Brendan Hay
@@ -13,9 +13,9 @@ extra-source-files: README.md
1313cabal-version: >= 1.10
1414
1515description:
16− Compiler and generator for Gozen related Google SDKs
16+ Compiler and generator for Gogol related Google SDKs
1717
18−executable gozen-gen
18+executable gogol-gen
1919 default-language: Haskell2010
2020 hs-source-dirs: src
2121 main-is: Main.hs
gen/src/Gen/Text.hs+1−1
@@ -40,7 +40,7 @@ stripSuffix s t = Text.strip . fromMaybe t $ s `Text.stripSuffix` t
4040
4141renameLibrary :: Text -> Text
4242renameLibrary =
43− mappend "gozen-"
43+ mappend "gogol-"
4444 . Text.toLower
4545
4646renameTitle :: Text -> Text
gen/template/cabal.ede+4−4
@@ -1,8 +1,8 @@
11name: {{ libraryName }}
22version: {{ libraryVersion }}
33synopsis: {{ libraryTitle }}.
4−homepage: https://github.com/brendanhay/gozen
5−bug-reports: https://github.com/brendanhay/gozen/issues
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
66license: OtherLicense
77license-file: LICENSE
88author: Brendan Hay
@@ -18,7 +18,7 @@ description:
1818
1919source-repository head
2020 type: git
21− location: git://github.com/brendanhay/gozen.git
21+ location: git://github.com/brendanhay/gogol.git
2222
2323library
2424 default-language: Haskell2010
@@ -37,5 +37,5 @@ library
3737 {% endfor %}
3838
3939 build-depends:
40− gozen-core == {{ coreVersion }}.*
40+ gogol-core == {{ coreVersion }}.*
4141 , base >= 4.7 && < 5
gozen/LICENSE → gogol/LICENSErenamed

The content is the same.

gozen/README.md → gogol/README.mdrenamed+3−3
@@ -1,4 +1,4 @@
1−# Gozen
1+# Gogol
22
33* [Description](#description)
44* [Contribute](#contribute)
@@ -12,9 +12,9 @@
1212
1313## Contribute
1414
15−For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gozen/issues).
15+For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/gogol/issues).
1616
1717
1818## Licence
1919
20−Gozen is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
20+Gogol is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).
gozen/gozen.cabal → gogol/gogol.cabalrenamed+5−5
@@ -1,8 +1,8 @@
1−name: gozen
1+name: gogol
22version: 0.0.1
33synopsis: Comprehensive Google Services SDK.
4−homepage: https://github.com/brendanhay/gozen
5−bug-reports: https://github.com/brendanhay/gozen/issues
4+homepage: https://github.com/brendanhay/gogol
5+bug-reports: https://github.com/brendanhay/gogol/issues
66license: OtherLicense
77license-file: LICENSE
88author: Brendan Hay
@@ -18,7 +18,7 @@ description:
1818
1919source-repository head
2020 type: git
21− location: git://github.com/brendanhay/gozen.git
21+ location: git://github.com/brendanhay/gogol.git
2222
2323library
2424 default-language: Haskell2010
@@ -32,4 +32,4 @@ library
3232
3333 build-depends:
3434 base >= 4.7 && < 5
35− , gozen-core == 0.0.1.*
35+ , gogol-core == 0.0.1.*
stack-7.8.4.yaml+1−2
@@ -3,5 +3,4 @@ flags: {}
33extra-deps: []
44packages:
55 - core
6− - gozen
7− - gozen-youtube
6+ - gogol
stack.yaml+1−3
@@ -3,6 +3,4 @@ flags: {}
33extra-deps: []
44packages:
55 - core
6− - gozen
7− - gozen-youtube-analytics
8− - gozen-compute
6+ - gogol