aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_versions.rb
AgeCommit message (Collapse)Author
2016-11-13formula_versions: fix erroneous :stable in version_attributes_mapJCount
2016-11-13audit: fix "version should not decrease" check.Mike McQuaid
Fix the "version should not decrease" check so it correctly handles `version_scheme`s. Fixes #1489.
2016-10-08Rename FormulaMethodDeprecatedError to MethodDeprecatedError.Markus Reiter
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-08-18Rename bottle's revision to rebuild.Mike McQuaid
2016-08-18formula_versions: add version_attributes_map.Mike McQuaid
This allows querying multiple attributes in the same way as `revision_map` did but without duplicating code or repeatedly traversing history.
2016-08-12formula_versions: set/unset raise_deprecation_exceptions.Mike McQuaid
2016-08-11Revert "formula_versions: also silence stderr."Mike McQuaid
2016-08-11formula_versions: also silence stderr.Mike McQuaid
We already stop old formula versions printing stdout but this also stops them printing on stderr for e.g. old deprecation warnings.
2016-07-29formula_versions: ignore FormulaMethodDeprecatedErrorilovezfs
old formula revisions have deprecated elements such as sha1 checksums Closes #605. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-01-17FormulaVersion: support max depthXu Cheng
2016-01-14formula_versions: include devel in revision mapDominyk Tiller
2016-01-14audit: enforce revision checkXu Cheng
Add two checks: * revision should be reset to 0 for new version. * revision should not decrease inside the same version interval. Closes Homebrew/homebrew#48032. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-09formula_versions: tap is a Tap object nowXu Cheng
2015-09-06FormulaVersions: load from contents to reduce ioXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-01Isolate formula class namespacesJack Nagel
Closes Homebrew/homebrew#40151. Closes Homebrew/homebrew#40203.
2015-05-29Remove another unused default argumentJack Nagel
2015-05-29Remove unused default argumentJack Nagel
2015-04-01Simplify versions codeJack Nagel
2015-04-01Remove dead codeJack Nagel
2015-03-07formula_versions: use Utils.popen_read instead of backticksXu Cheng
Closes Homebrew/homebrew#37446. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-01-20Expose bottle details on the formula objectJack Nagel
Fixes Homebrew/homebrew#36032.
2015-01-04Remove unused argumentJack Nagel
2015-01-02formula_versions: ignore another exception.Mike McQuaid
2014-11-28Rescue ErrorDuringExecution when loading old formulaeJack Nagel
2014-07-06Use Formula tap methodsJack Nagel
2014-07-05Use popen wrapperJack Nagel
Closes Homebrew/homebrew#30678.
2014-06-22Move deprecated Formula class methods to compatJack Nagel
These have all been moved to Formulary.
2014-06-19Remove more unused requiresJack Nagel
2014-06-09Stop exposing mktemp as a public method on formula objectsJack Nagel
2014-05-28Extract history introspection from "versions" commandJack Nagel