Skip to content
Snippets Groups Projects
Commit 8e612c65 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

insure packages are from bob group, corrected changelog accordingly

parent 03d3c8d9
Branches
Tags
1 merge request!73Updating the changelog for Bob's release
......@@ -13,6 +13,63 @@
* rebuild
* bob.extension
* patch
- Updated the link to bob-devel
- Python-based configuration system (closes bob.extension#43)
- Simplifies configuration system
- Multiple fixes as per discussions on git st
- Add test unit; Remove six dep
- Encourage people to create simple configurations
- import os as _os
- Fix variable name
- Remove one logging line
- Remove default 'defaults' dictionary
- Implement automatic rc module loading; Multiple simplifications
- Fix py3 doctest
- Implement two config systems. One for global configurations and one for local configs
- Fix some typos
- Fix some typos
- explain more how the rc system should be used
- Fix some typos
- Minor cosmetical changes
- Missed a backtick
- Fixed issue with the config loading. Now we can have complex elements (like…
- Fixed issue with the gc
- Add support for loading configs through entrypoint names
- Fix for python 3
- Add stacked processors
- Divide the guide into two guides: Developing packages, creating packages
- point to bob group
- Add the note for develop.cfg
- replace the note
- Add a tldr section
- mention to use this python
- Fixes non-working relative imports (closes bob.extension#47)
- Use basic_config on user guide
- Add CONDA_PREFIX to the search path of pkg-config
- Use one function to construct search paths for all functionality
- improve the documentation
- Fix the default location of RCFILENAME
- Add a test for loading configs from different package names
- remove the keys that might break the loading of the next config file
- Add comments to explain best practices
- Implementation of the bob script using click
- bob.extension is stable now
- remove the verbose and log options from bob script
- Add a test for relative imports in module paths
- Fix relative imports in module paths
- in conda test environments shebang could be very large and break this tests with…
- Use conda's BUILD_PREFIX to search for build tools (closes bob/bob.corebob.extension#7)
- Migrate to conda based CI
- Improve -isystem usage by implementing…
- Add nitpick exception
- Improve error message
- Add functionality to write scripts that accept config files
- Rename the classes to avoid confusion
- improve the docs
- rename option to resource option
- Use cc by default if ${CC} is not set
- Handle unicode strings in Python 2 properly
- Fix label
* bob.blitz
* minor
* Migrate to conda based CI
......@@ -66,6 +123,19 @@
- Allow garbage at the end of PNM iaimages not affect readout (closes bob.io.image#30)
* bob.db.base
* patch
- Implemented local file upload, cf. bob.db.base#20
- Remove traces of internal server from file; By default, do local dir dump; Use…
- Fixed spacing in print statements
- Password is only required for upload to server
- Catch specific exceptions from shutil; Remove getpass stuff
- Now everything works ;-)
- Fix deprecations and super usage
- Add json annotation format support
- Call the init of super class in File
- Do not break when some of bob.db entrypoints are broken
- Migrate to conda based CI
- not all databases have original_directory and original_extension
- Annotations could be None
* bob.io.video
* minor
* Migrate to conda based CI
......@@ -146,9 +216,6 @@
* bob.ip.flandmark
* minor
* Migrate to conda based CI
* bob
* major
* Initial version of the meta-package
* gridtk
* v1.5.0 (Nov 20, 2017 09:07)
* Implemented the option `--repeat <n>` in jman submit. Now we can submit the same job `n` times in a serial manner -- Merge gridtk!10
......@@ -324,27 +391,124 @@
* Migrate to conda based CI
* bob.db.utfvp
* v2.4.1 (Sep 22, 2017 14:32)
* patch
* Packaging changes - no changes to software.
* major
- Fix packaging warnings
- Migrate to conda based CI
- Overall database refactoring; Improved docs and tests
- Add information on the annotations
- Fix function comment
- Fix typo in guide
* bob.db.verafinger
* v1.0.0 (Oct 11, 2017 14:24)
* Initial version of the package
* patch
* Initial release of new VERA fingervein database interface. Deprecates https://gitlab.idiap.ch/bob/bob.db.vera.
- Upload all metadata to our server
- Fix pkg_resources import
- Delete metadata (ship with db files)
- Update badges
- Reset initial version
- Reset authorship of package [ci skip]
* major
- Update ignore file
- Fix packaging warnings
- Migrate to conda based CI
- Improved documentation; Simplified protocol files
- Add information on the annotations
- Fix function comment
- Fix typo in guide
- Unify biometric/presentation-attack interfaces
- Implement cropped biometric recognition protocols
- Updated documentation to include more image samples and information on biorec cropped protocols
* bob.db.fv3d
* v1.0.0 (Oct 11, 2017 15:42)
* Initial version of the package
* patch
- Update badges
- Remove extra import
- Distribute metadata from webserver
* major
- Fix packaging warnings
- Use model name for scoring
- Fixes to model.id -> model.name as model identifier
- Migrate to conda based CI
* bob.db.hkpu
* major
- Initial release
- Initial commit
- Incorporate model-id on File class
- Remove unique finger name attribute as that does not match model-id
- Fix tests
- Remove tests for finger-name (removed)
- Add explanation for returning just one single plane from original image
- Fix comment
- Set private URLs for docs [ci skip]
- Fix docs
- Add functions to detect and load RoI annotations
- Change protocol A to have multiple models instead of multiple samples per model
- Update filelist
- Update HKPU filelist with new annotations
- Add test for annotations
- Fix function comment
- Add information on the annotations
- Fix typo in guide
- Port to new CI (closes bob.db.hkpu#1)
- Fix build deps
* bob.db.thufvdt
* major
- Initial release
- Initial commit
- Add protocol files
- Set protocol p3 to match paper descriptions
- List protocol files
- Fix sql3 file creation
- Finalize tests
- Import correct module on docs
- Fix short descr
- Centralize links
- Add functions to detect and load RoI annotations
- Change db name to thufvdt (simpler)
- Updated ignore file
- Update metadata contents
- Add symlinks to metadata
- Add annotation check tests
- Add annotation section
- Fix typo in func doc
- Port to new CI (closes bob.db.thufvdt#1)
- Fix build deps
- Fix build deps
- Pin compatible pillow versions
- Fix use of pin_compatible
* bob.db.mmcbnu6k
* major
- Initial release
- Initial commit
- Add protocols; Fix creation
- Fix tests
- Implement roi-based protocol; improve testing
- Rectify score count analysis
- Avoid creation of unused Finger entries on SQL database
- Fix comment
- Use model name for scoring
- Fixes to model.id -> model.name as model identifier
- Return any finger name (all are the same) given the first found model
- Fix finger name look-up
- Fix function comment
- Add information on the annotations
- Update file listing to include annotations
- Add annotation tests
- Add warning about annotations
- Include annotations with metadata
- Test annotations
- Port to new CI (closes bob.db.mmcbnu6k#1)
* bob.db.hmtvein
* major
- Initial release
- Initial commit
- Correct database creation
- Fix test
- Fix references in documentation
- Use model name for scoring
- Fixes to model.id -> model.name as model identifier
- Return any finger name (all are the same) given the first found model
- Fix finger name look-up
- Add annotations
- Add information on the annotations
- Fix function comment
- Port to new CI (closes bob.db.hmtvein#1)
* bob.db.voicepa
* v1.0.2 (Sep 22, 2017 14:34)
* minor
......@@ -366,15 +530,60 @@
* Created methods modality_separator and modalities
* Included test case for objects.modality
* bob.bio.base
* v3.2.0 (Sep 22, 2017 10:55)
* v3.2.1 (Sep 26, 2017 15:04)
* Switched to 'pdf' backend instead of 'agg'
* v3.3.0 (Sep 22, 2017 13:41)
* bob.bio.base!20 Docs url fix
* bob.bio.base!19 Python36 & docs fixes
* bob.bio.base!18 Removed`Algorithm.read_probe`
* patch
* Update experiments.rst to fix the link to gridtk
* execute_only flag is now evaluated from the config file
- Add as_array to frame containers
- Fixed tuple indexing bug in youtube db load function
- Added unit test for the load method of youtube database
- Updated manifest to use jpg files for tests
- Fixed the unit test connecting it with low level db interface]
- Fixed the unit test of youtube load method
- Make the original_directory and annotation_directory a property
- move the _db initialization before calling super
- pass kwargs in the base file class
- Migrate to conda based CI
- [conda] Added test requirements
- Fixed the index.rst to match joint docs requirements
- Added quality_assessment_function to preprocessor Wrapper
- Fixed the typo
- Addressing missing frame annotations
- Fixed dict.has_key issue for Python 3
- Reverted quality assessment function
- Changed missing annotations conditional check + unit tests
- Moved condition to one line, removed empty dictionary check
- Fixes bob.bio.base#11
- Returning none insted of empty FrCont in preproc Wrapper
- Make missing annotations None instead of empty dict
- Add a failsafevideo wrapper
- use ordered dict
- Add a video annotator
- Finalize video annotators and add docs and tests
- Fix import order
- use six to check for string types
- Account for empty frame containers too
- Account for failed extractor
- remove unused import thanks to my linter and the way I imported it
- mention min_face_size_validator for a possible input
- Validators should handle empty annotations too
- Fix sphinx warning
* bob.bio.gmm
* v3.1.0 (Sep 22, 2017 14:05)
* bob.bio.gmm!10 Removed Algorithm.read_probe method, since this is already solved via bob.bio.base
* bob.bio.gmm!9 Use generators instead of list to concatenate the loaded training data
* bob.bio.gmm!12 Doc fixes
* bob.bio.gmm!11 Python36 & docs fixes
- Adeded an author for the package
* patch
- Propagated --allow-missing-files to the UBM training
- Removed some garbage code
- Fixing issue bob.bio.gmm#22. Removing the keyword argument allow_missing_files. don't ask…
- Migrate to conda based CI
- [conda] Appended the test requirements to meta.yaml
- Fixed the index.rst to match joint docs requirements
- Fix the index levels
* bob.bio.face
* patch
- First commit
......@@ -441,7 +650,12 @@
- [ci] Update conda
* bob.bio.spear
* v3.1.1 (Sep 22, 2017 14:48)
* bob.bio.spear!36 Docs url fixes
- reverted patch version
* patch
- pass kwargs in the base file class
- Migrate to conda based CI
- [sphinx] Fixed sphinx doc
* bob.bio.video
* v3.3.0 (Sep 22, 2017 13:41)
* bob.bio.video!20 Docs url fix
......@@ -587,6 +801,11 @@
* bob.db.voxforge
* v2.2.0 (Sep 24, 2017 11:39)
* patch
- Remove unnecessary extra-intersphinx.txt
- Update README.rst
- Update index.rst
- Migrate to conda based CI
- [ci] Removed bob_dbmanage download
* bob.pad.base
* patch
- allow missing files projector
......
......@@ -4,7 +4,7 @@
Generate changelog file for all packages before release. This script uses python-gitlab package for access to Gitlab's API.
Usage:
{0} <private_token>
{0} [-v...] [options] [--] <private_token>
{0} -h | --help
{0} --version
......@@ -14,6 +14,7 @@ Arguments:
Options:
-h --help Show this screen.
--version Show version.
-p, --package-name STR If the name of a package is provided, then the changelog will only be generated for this package.
"""
......@@ -23,8 +24,12 @@ import gitlab
import datetime
def get_packages_list(gl):
nightlies = gl.projects.list(search='bob.nightlies')[0]
def get_packages_list(gl, gl_group=None):
if gl_group:
grp_nightlies = gl_group.projects.list(search='bob.nightlies')[0]
nightlies = gl.projects.get(id=grp_nightlies.id)
else:
nightlies = gl.projects.list(search='bob.nightlies')[0]
nightlies_order = nightlies.files.get(file_path='order.txt', ref='master')
pkg_list_ordered = nightlies_order.decode().decode().split('\n')
pkg_list_ordered = [line for line in pkg_list_ordered if (line.strip() and not line.startswith('#'))]
......@@ -138,20 +143,32 @@ def print_tags_with_commits(pkg_name, gitpkg, since='2017-01-01T00:00:00Z'):
print_commits_range(pkg_name, leftover_commits)
def main(private_token):
def main(private_token, pkg_name=""):
gl = gitlab.Gitlab('https://gitlab.idiap.ch', private_token=private_token, api_version=4)
pkg_list_ordered = get_packages_list(gl)
bob_group = gl.groups.list(search='bob')[0]
# print(pkg_list_ordered)
last_release_date = bob_last_release(gl)
# print(last_release_date)
# print name of the package, its version and tags
for pkg_name in pkg_list_ordered:
gitpkg = gl.projects.list(search=pkg_name)[0]
# print_tags(pkg_name, gitpkg, since=last_release_date))
# print_commits(pkg_name, gitpkg, since=last_release_date)
# import ipdb; ipdb.set_trace()
if pkg_name:
# group returns a simplified description of the project
grpkg = bob_group.projects.list(search=pkg_name)[0]
# so, we need to retrieve the full info from GitLab using correct project id
gitpkg = gl.projects.get(id=grpkg.id)
print_tags_with_commits(pkg_name, gitpkg, since=last_release_date)
else:
pkg_list_ordered = get_packages_list(gl, gl_group=bob_group)
for pkg_name in pkg_list_ordered:
# group returns a simplified description of the project
grpkg = bob_group.projects.list(search=pkg_name)[0]
# so, we need to retrieve the full info from GitLab using correct project id
gitpkg = gl.projects.get(id=grpkg.id)
# print_tags(pkg_name, gitpkg, since=last_release_date))
# print_commits(pkg_name, gitpkg, since=last_release_date)
print_tags_with_commits(pkg_name, gitpkg, since=last_release_date)
if __name__ == '__main__':
arguments = docopt(__doc__.format(sys.argv[0]), version='Changelog 0.0.1')
main(arguments['<private_token>'])
main(arguments['<private_token>'], pkg_name=arguments['--package-name'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment