Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/v0.12.0 #61

Merged
merged 76 commits into from
Sep 30, 2020
Merged

release/v0.12.0 #61

merged 76 commits into from
Sep 30, 2020

Conversation

astrochun
Copy link
Contributor

@astrochun astrochun commented Sep 28, 2020

Fixes #42
Fixes #52
Fixes #57
Fixes #58
Fixes #60
Fixes #62
Fixes #63
Fixes #64

The following tests are needed since there are a number of features that overlap:

script_run:

  • Check that logging is done to persistent storage (see figshare_patrons.2020-09-30.log)
  • Check that file logging contains software debug info (see figshare_patrons.2020-09-30.log)
  • Check that file logging contains system info (see figshare_patrons.2020-09-30.log)
  • Check that file logging contains pandas DataFrame for each theme/portal (see figshare_patrons.2020-09-30.log)
  • Check that ManualOverride file logging is available (optional) (see figshare_patrons.2020-09-30.log)
  • Check that GrouperQuery file logging is available (optional) N/A

user_update:

  • Check that logging is done to persistent storage (see user_update.2020-09-30.log)
  • Check that file logging contains software debug info
  • Check that file logging contains system info
  • Check that grouper_delta_user file logging is available (there was a minor code mistake - log written to stdout, fixed in e13b6b4)
  • Check that multi-user add is possible with comma-separated list (see user_update.2020-09-30.log)
  • Check that multi-user add is possible with .txt input (see user_update.2020-09-14.log)
  • Check that ManualOverride file logging is available (optional) (see user_update.2020-09-30.log)
  • Check that LDAPConnection file logging is available (optional) (see user_update.2020-09-30.log)
  • Check that GrouperAPI file logging is available (optional) N/A, some improvements for KeyError handling (minor)

add_grouper_groups:

  • Check that logging is done to persistent storage (see add_grouper_groups.2020-09-30.log)
  • Check that file logging contains software debug info (see add_grouper_groups.2020-09-30.log)
  • Check that file logging contains system info (see add_grouper_groups.2020-09-30.log)
  • Check that GrouperAPI file logging is available (optional) N/A, some improvements for KeyError handling (minor)

get_org_code_numbers: (this script takes some time to run, verification in code)

  • Check that logging is done to persistent storage
  • Check that file logging contains software debug info
  • Check that file logging contains system info
  • Check that LDAPConnection file logging is available (optional)

Add verbose option in get_current_groups
Fix calls to mo.update_dataframe when root case
log revert_command if membership is empty

append quota to revert_command (including root)
- Change 'org_code' section to 'google'
- Update get_org_code_numbers script for section name change
add_grouper_groups: Handle quota flag when set
@astrochun astrochun added the scripts Script development label Sep 28, 2020
@astrochun astrochun added this to To do in ReDATA Patron Management Software via automation Sep 28, 2020
@astrochun astrochun moved this from To do to In progress in ReDATA Patron Management Software Sep 28, 2020
@astrochun astrochun added this to the v0.12.0 milestone Sep 28, 2020
Copy link
Contributor Author

@astrochun astrochun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look complete.

Will need to test each script to confirm complete log messages

@astrochun astrochun moved this from In progress to Needs Review / Testing in ReDATA Patron Management Software Sep 29, 2020
- Update requirements for pandas, tabulate
- Implement in script_run
- script_run: Strip out log info about org codes, org names
#62

 - Optional mo keyword for ManualOverride object if needed
 - Implement changes in user_update script
Copy link
Contributor Author

@astrochun astrochun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final set of changes looks good for minor refactoring and improvements.

A number of tests were conducted and those passs

@astrochun astrochun merged commit 431b29d into master Sep 30, 2020
ReDATA Patron Management Software automation moved this from Needs Review / Testing to Done Sep 30, 2020
@astrochun astrochun deleted the release/v0.12.0 branch April 14, 2021 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Use of a third-party API documentation Improvements or additions to documentation enhancement New feature or request reorganization packaging and re-organization scripts Script development
1 participant