google-code-export / camlistore

Automatically exported from code.google.com/p/camlistore
Apache License 2.0
0 stars 0 forks source link

New environment vars are undocumented #486

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ go run dev/envvardoc/envvardoc.go 
Undocumented                  Location
CAMLI_API_HOST                pkg/app/app.go:35
CAMLI_APP_BACKEND_URL         pkg/app/app.go:58
CAMLI_PICASA_FULL_IMPORT      pkg/importer/picasa/picasa.go:150
CAMLI_REINDEX_START           pkg/index/index.go:221
CAMLI_S3_TEST_CONFIG_JSON     pkg/blobserver/s3/s3_test.go:29
CAMLI_SERVER                  pkg/client/config.go:255
CAMLI_SYNC_VALIDATE           pkg/server/sync.go:116
CAMLI_TWITTER_FULL_IMPORT     pkg/importer/twitter/twitter.go:159
CAMLI_TWITTER_SKIP_API_IMPORT pkg/importer/twitter/twitter.go:197

It would be nice to get these added to doc/environment-vars.txt

Original issue reported on code.google.com by couchmo...@gmail.com on 6 Aug 2014 at 2:50

GoogleCodeExporter commented 9 years ago
Actually there's a few more in app/ too:

$ go run dev/envvardoc/envvardoc.go -srcDirs=cmd,dev,pkg,server,app
Undocumented                  Location
CAMLI_API_HOST                pkg/app/app.go:35
CAMLI_API_HOST                app/publisher/main.go:191
CAMLI_APP_BACKEND_URL         pkg/app/app.go:58
CAMLI_APP_CONFIG_URL          app/hello/main.go:45
CAMLI_APP_CONFIG_URL          app/publisher/main.go:83
CAMLI_PICASA_FULL_IMPORT      pkg/importer/picasa/picasa.go:150
CAMLI_REINDEX_START           pkg/index/index.go:221
CAMLI_S3_TEST_CONFIG_JSON     pkg/blobserver/s3/s3_test.go:29
CAMLI_SERVER                  pkg/client/config.go:255
CAMLI_SYNC_VALIDATE           pkg/server/sync.go:116
CAMLI_TWITTER_FULL_IMPORT     pkg/importer/twitter/twitter.go:159
CAMLI_TWITTER_SKIP_API_IMPORT pkg/importer/twitter/twitter.go:197

Original comment by couchmo...@gmail.com on 6 Aug 2014 at 2:52

GoogleCodeExporter commented 9 years ago
Looks like some, but not all, are in doc/app-environment.txt, 
dev/envvardoc/envvardoc.go should probably be made smarter to handle that.

Original comment by couchmo...@gmail.com on 6 Aug 2014 at 2:59

GoogleCodeExporter commented 9 years ago
This issue has moved to https://camlistore.org/issue/486

Original comment by bradfitz on 14 Dec 2014 at 11:37