storj/pkg/accounting
JT Olio 2744a26b60
pkg/cfgstruct: tie defaults to releases (#1787)
* tie defaults to releases

this change makes it so that by default, the flag defaults are
chosen based on whether the build was built as a release build or
an ordinary build. release builds by default get release defaults,
whereas ordinary builds by default get dev defaults.

any binary can have its defaults changed by specifying

 --defaults=dev

or

 --defaults=release

Change-Id: I6d216aa345d211c69ad913159d492fac77b12c64

* make release defaults more clear

this change extends cfgstruct structs to support either
a 'default' tag, or a pair of 'devDefault' and 'releaseDefault'
tags, but not both, for added clarity

Change-Id: Ia098be1fa84b932fdfe90a4a4d027ffb95e249c6

* clarify cfgstruct.DefaultsFlag

Change-Id: I55f2ff9080ebbc0ce83abf956e085242a92f883e
2019-04-19 12:17:30 -06:00
..
rollup pkg/cfgstruct: tie defaults to releases (#1787) 2019-04-19 12:17:30 -06:00
tally pkg/cfgstruct: tie defaults to releases (#1787) 2019-04-19 12:17:30 -06:00
bucketstats.go add tests for tally and accounting db (#1675) 2019-04-09 09:48:35 -04:00
bucketusage_test.go Bucket usage info rollup table creation and implementation (#1340) 2019-03-06 17:54:48 +02:00
bucketusage.go project usage limiting (#1561) 2019-04-02 11:21:18 -07:00
common.go remove unused date field in csv row (#1388) 2019-03-01 08:23:27 -05:00
db_test.go add tests for tally and accounting db (#1675) 2019-04-09 09:48:35 -04:00
db.go add tests for tally and accounting db (#1675) 2019-04-09 09:48:35 -04:00
projectusage_test.go convert times to UTC before entering as utimestamp (#1708) 2019-04-09 15:12:58 -04:00
projectusage.go use allocated instead of settled (#1700) 2019-04-08 14:35:54 -07:00