Difference between revisions of "Funtoo:Metatools/Releases/1.0.2"

From Funtoo
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
|name=metatools
|name=metatools
|version=1.0.2
|version=1.0.2
|type=normal
|type=regular
|changelog=
}}
=== Major Changes ===
=== Major Changes ===


With the addition of the {{c|Store}} class, which is a file-backed hashing store, metatools 1.0.2 no longer requires {{c|mongodb}} to be installed or running in order to function.
With the addition of the {{c|Store}} class, which is a file-backed hashing store, metatools 1.0.2 no longer requires {{c|mongodb}} to be installed or running in order to function.
Note that there is still a dependency on {{c|pymongo}}, which is used for its BSON encode/decode functionality. The {{c|Store()}} class is leveraged for storage of distfiles ({{c|blos}}),
Note that there is still a dependency on {{c|pymongo}}, which is used for its BSON encode/decode functionality. The {{c|Store()}} class is leveraged for storage of distfiles ({{c|blos}}),
cached {{c|get_page()}} requests (({{c|fetch_cache}}), and to map URLs to specific distfiles for each release ({{c|integrity}}). The new stores will be created in {{c|~/repo_tmp/stores}}
cached {{c|get_page()}} requests ({{c|fetch_cache}}), and to map URLs to specific distfiles for each release ({{c|integrity}}). The new stores will be created in {{c|~/repo_tmp/stores}}
and will result in distfiles being re-downloaded via the spider to populate the {{c|blos}} Store, as the previous MongoDB-based Store will not be leveraged. You can clean up your old
and will result in distfiles being re-downloaded via the spider to populate the {{c|blos}} Store, as the previous MongoDB-based Store will not be leveraged. You can clean up your old
distfile store by running {{c|rm -rf ~/repo_tmp/fastpull}}.
distfile store by running {{c|rm -rf ~/repo_tmp/fastpull}}.
Line 16: Line 16:


;Error Output Improvements: Various code paths were cleaned up to ensure that failed autogens are mentioned at the end of a {{c|doit}} run, and that actionable error messages appear in the colorized output for fetch errors.
;Error Output Improvements: Various code paths were cleaned up to ensure that failed autogens are mentioned at the end of a {{c|doit}} run, and that actionable error messages appear in the colorized output for fetch errors.
}}

Latest revision as of 21:22, May 20, 2022

Metatools 1.0.2 is a regular release which was released on 21 February 2022.


Major Changes

With the addition of the Store class, which is a file-backed hashing store, metatools 1.0.2 no longer requires mongodb to be installed or running in order to function. Note that there is still a dependency on pymongo, which is used for its BSON encode/decode functionality. The Store() class is leveraged for storage of distfiles (blos), cached get_page() requests (fetch_cache), and to map URLs to specific distfiles for each release (integrity). The new stores will be created in ~/repo_tmp/stores and will result in distfiles being re-downloaded via the spider to populate the blos Store, as the previous MongoDB-based Store will not be leveraged. You can clean up your old distfile store by running rm -rf ~/repo_tmp/fastpull.

Minor Improvements and Bug Fixes

Error Output Improvements
Various code paths were cleaned up to ensure that failed autogens are mentioned at the end of a doit run, and that actionable error messages appear in the colorized output for fetch errors.