thisaintwork / iqss_gh_reporting

MIT License
0 stars 0 forks source link

Figure out why Ceilyn scripts are not working #56

Closed mikeaintworkin closed 11 months ago

mikeaintworkin commented 11 months ago

The hints are in the output from her script run which is in the first comment. Her code builds fine.

mikeaintworkin commented 11 months ago
bash-3.2$ pwd
/Users/ceilynboyd/Harvard University/Reekie, Mike - iq_reporting_collab/bin
bash-3.2$ ls
ceilyn-setvars.sh   input_file.yaml     mike-setvars.sh     readme.txt
bash-3.2$ bash ceilyn-setvars.sh 
YAML data is valid!
------------------------------
Defaults currently mapped to Command Line input:
Any changes you just made will be written back to the yaml file
you can run this file repeatedly to update the defaults

collection_flag:
        h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
        v: snapshot
data_collected_time:
        h: 'str: When working with file input,use this.-special_char] ok:''_'' no
                trailing /. api=ignored. file=required.'
        v: ''
organization_name:
        h: 'str: e.g: IQSS. Always required.'
        v: IQSS
output_base_dir:
        h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''.
                No trailing /. api=ignored. file=Optional'
        v: /Users/ceilynboyd/Harvard University/Reekie, Mike - iq_reporting_collab/
output_file_base_name:
        h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
                file=not required.'
        v: ''
project_name:
        h: 'str: e.g: IQSS/dataverse. Always required.'
        v: IQSS/dataverse
sprint_name:
        h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
        v: snaps_collection
src_dir_name:
        h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no
                trailing /. api=ignored. file=required.'
        v: ''
src_file_name:
        h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
                .api=ignored. file=required.'
        v: ''
src_type:
        h: 'str: valid values: api | file. Always required.'
        v: api
workflow_name:
        h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
        v: '000'

==========================================================================
You have set the run parameters.

Summary:
collection_flag:
data_collected_time:
        v: ''
organization_name:
        v: IQSS
output_base_dir:
        v: /Users/ceilynboyd/Harvard University/Reekie, Mike - iq_reporting_collab/
output_file_base_name:
        v: ''
project_name:
        v: IQSS/dataverse
sprint_name:
        v: snaps_collection
src_dir_name:
        v: ''
src_file_name:
        v: ''
src_type:
        v: api
workflow_name:
        v: '000'

To actually run the analysis or collection and analysis run

create_iq_snapshot

from this same directory.

bash-3.2$ create_iq_snapshot
Running /Users/ceilynboyd/anaconda3/bin/create_iq_snapshot as the main program
YAML data is valid!
input arguments:

collection_flag:
  h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
  v: snapshot
data_collected_time:
  h: 'str: When working with file input,use this.-special_char] ok:''_'' no trailing
    /. api=ignored. file=required.'
  v: ''
organization_name:
  h: 'str: e.g: IQSS. Always required.'
  v: IQSS
output_base_dir:
  h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''. No
    trailing /. api=ignored. file=Optional'
  v: /Users/ceilynboyd/Harvard University/Reekie, Mike - iq_reporting_collab/
output_file_base_name:
  h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
    file=not required.'
  v: ''
project_name:
  h: 'str: e.g: IQSS/dataverse. Always required.'
  v: IQSS/dataverse
sprint_name:
  h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
  v: snaps_collection
src_dir_name:
  h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no trailing
    /. api=ignored. file=required.'
  v: ''
src_file_name:
  h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv .api=ignored.
    file=required.'
  v: ''
src_type:
  h: 'str: valid values: api | file. Always required.'
  v: api
workflow_name:
  h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
  v: '000'

output_file_base_name 4api: snaps_collection-snapshot-000-api-2023_11_28_134957
directory exists or was created now: /Users/ceilynboyd/Harvard University/Reekie, Mike - iq_reporting_collab/snaps_collection
projects: looking to match IQSS/dataverse with IQSS/consilience
projects: looking to match IQSS/dataverse with IQSS/dataverse
start: 0 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
  end: 8 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
start: 8 cards processed: IQSS/dataverse, Column This Sprint šŸƒā€ā™€ļø šŸƒ
  end: 20 cards processed: IQSS/dataverse, Column This Sprint šŸƒā€ā™€ļø šŸƒ
start: 20 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
Traceback (most recent call last):
  File "/Users/ceilynboyd/anaconda3/bin/create_iq_snapshot", line 167, in <module>
    main()
  File "/Users/ceilynboyd/anaconda3/bin/create_iq_snapshot", line 72, in main
    sprint_data.df = pdio.LegacyProjectCards(
                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/iqss_gh_reporting/legacy.py", line 74, in __init__
    self._fetch_data()
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/iqss_gh_reporting/legacy.py", line 88, in _fetch_data
    if not self._get_project_cards_api_obj():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/iqss_gh_reporting/legacy.py", line 155, in _get_project_cards_api_obj
    self._project_cards = pd.concat([self._project_cards, pd.DataFrame([new_row])], ignore_index=True)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/reshape/concat.py", line 385, in concat
    return op.get_result()
           ^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/reshape/concat.py", line 616, in get_result
    new_data = concatenate_managers(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/internals/concat.py", line 242, in concatenate_managers
    values = _concatenate_join_units(join_units, copy=copy)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/internals/concat.py", line 581, in _concatenate_join_units
    to_concat = [
                ^
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/internals/concat.py", line 582, in <listcomp>
    ju.get_reindexed_values(empty_dtype=empty_dtype, upcasted_na=upcasted_na)
  File "/Users/ceilynboyd/anaconda3/lib/python3.11/site-packages/pandas/core/internals/concat.py", line 513, in get_reindexed_values
    i8values = np.full(self.shape, fill_value._value)
                                   ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute '_value'
bash-3.2$ 
mikeaintworkin commented 11 months ago

After a worknig session with Ceilyn, I went back to get my own code working. I don't recall exactly what state things were in in august when I worked on this last, so I arbitrarily picked framework04.sh to get working. As I go I'm remembering things and looking at it with essentially fresh eyes, I'm also seeing where there are a lot of hardcoded items and the need for better documentation.

I left off today after making steady progress. This is the last run

Getting this to run is not likely to solve Ceilyn's issue directly, but once this is solved, I'll have the right context back in my head to get her issue fixed.

executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.sh
pwd:  //home/barry/Documents/github_reporting
Next: Execute Test number 1

Test: return the results of a query for a single PR (see: query_key)

--------------------------------
</ info >

~/PycharmProjects/iqss_gh_reporting/scripts/scaffolding //home/barry/Documents/github_reporting
Running /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.py as the main program
Traceback (most recent call last):
File "/home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.py", line 87, in <module>
main()
File "/home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.py", line 68, in main
query_dict = (iq_qry_lib.queries[args.query_key]())
AttributeError: module 'iqss_gh_reporting.graphql_query_lib' has no attribute 'queries'
//home/barry/Documents/github_reporting
barry@ubuntux64-20230604://home/barry/Documents/github_reporting$
mikeaintworkin commented 11 months ago
in  out  wrk
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_04$ find .
.
./wrk
./in
./out
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_04$

~/PycharmProjects/iqss_gh_reporting/scripts/scaffolding ~/Documents/github_reporting/framework_04
Running /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.py as the main program
Exception: 401, message='Unauthorized', url=URL('https://api.github.com/graphql')
results:
----
{}
----

Updating my key And I get a successful run

info >
--------------------------------
executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.sh
pwd:  /home/barry/Documents/github_reporting/framework_04
Next: Execute Test number 1

Test: return the results of a query for a single PR (see: query_key)

--------------------------------
</ info >

~/PycharmProjects/iqss_gh_reporting/scripts/scaffolding ~/Documents/github_reporting/framework_04
Running /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_04.py as the main program
results:
----
{
"repository": {
"pullRequest": {
"closingIssuesReferences": {
"totalCount": 1,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"endCursor": "MQ",
"startCursor": "MQ"
},
"nodes": [
{
"repository": {
"name": "dataverse"
},
"title": "Shib group in another group doesn't work",
"number": 9369,
"id": "I_kwDOANZmvM5d4X5V",
"url": "https://github.com/IQSS/dataverse/issues/9369",
"closed": true,
"closedAt": "2023-06-05T21:19:14Z",
"labels": {
"totalCount": 1,
"nodes": [
{
"name": "Size: 3"
}
]
}
}
]
}
}
}
}
----

Saving result to file:
/home/barry/Documents/github_reporting/framework_04/out/test_1-query_get_one_pr-20231129_134550.json
parse_issues_closed_by_pr: {'repository': {'name': 'dataverse'}, 'title': "Shib group in another group doesn't work", 'number': 9369, 'id': 'I_kwDOANZmvM5d4X5V', 'url': 'https://github.com/IQSS/dataverse/issues/9369', 'closed': True, 'closedAt': '2023-06-05T21:19:14Z', 'labels': {'totalCount': 1, 'nodes': [{'name': 'Size: 3'}]}}
parse_issues_closed_by_pr: dataverse
parse_issues_closed_by_pr: Shib group in another group doesn't work
parse_issues_closed_by_pr: 9369
parse_issues_closed_by_pr: I_kwDOANZmvM5d4X5V
parse_issues_closed_by_pr: https://github.com/IQSS/dataverse/issues/9369
parse_issues_closed_by_pr: True
parse_issues_closed_by_pr: 2023-06-05T21:19:14Z
parse_issues_closed_by_pr: Size: 3
~/Documents/github_reporting/framework_04
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_04$
mikeaintworkin commented 11 months ago

Taking a look again at the output from Ceilyn.

mikeaintworkin commented 11 months ago

Run 1.

Not sure if this is going to make a difference in this run. Run from:

barry@ubuntux64-20230604:~/Documents/github_reporting$ mkdir framework_05
barry@ubuntux64-20230604:~/Documents/github_reporting$ cd framework_05
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$

It doesn't.

It took me a long time to get my output for create_iq_snapshot_init to match Ceilyns. I finally realized that "" is a string value and not the null value that I intended. I simply changed the way I made the call to fix it:

#     --collection_flag "" \
#     --data_collected_time "" \
#    --output_file_base_name "" \
#    --src_dir_name "" \
#     --src_file_name "" \

create_iq_snapshot_init \
     --organization_name "IQSS" \
     --output_base_dir  ${WRK_DIR_RT}/out/ \
     --project_name "IQSS/dataverse" \
     --sprint_name "snaps_collection" \
     --src_type "api" \
     --workflow_name "000"
mikeaintworkin commented 11 months ago
Next Steps:
() Check that the build actually completed succesfully by reviewing the output.
() Test out the create_iq_snapshot_init build correctly using 

create_iq_snapshot_init --help

() Follow the rest of the instructions in the readme

press <enter> to continue
============================

~/Documents/github_reporting/framework_05
< info >
--------------------------------
executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/barry/Documents/github_reporting/framework_05
< find . -type f >
./input_file.yaml
</find . -type f >  /home/barry/Documents/github_reporting/framework_05
Next: invoking local environment & setting directories for this run
-------------------------------
</info >
press <enter> to continue
============================

< info >
--------------------------------
executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/barry/Documents/github_reporting/framework_05
< find . -type f >
./input_file.yaml
</find . -type f >  /home/barry/Documents/github_reporting/framework_05
Next: invoking local environment & setting directories for this run

< dir info >
Time Stamp: 20231129_161729
Directories:
SCRIPT_DIR: "/home/barry/PycharmProjects/iqss_gh_reporting/scripts"
WRK_DIR_RT: "/home/barry/Documents/github_reporting/framework_05"
INDIR: "/home/barry/Documents/github_reporting/framework_05/in"
WRKDIR: "/home/barry/Documents/github_reporting/framework_05/wrk"
OUTDIR: "/home/barry/Documents/github_reporting/framework_05/out"

input file:
/home/barry/Documents/github_reporting/framework_05/in/

Note: This test is using the API so WRK_FILE will not be defined.

</dir info >

-------------------------------
</info >
press <enter> to continue
============================

rm: cannot remove '/home/barry/Documents/github_reporting/framework_05/out/*.json': No such file or directory
< info >
--------------------------------
executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/barry/Documents/github_reporting/framework_05
< find . -type f >
./input_file.yaml
</find . -type f >  /home/barry/Documents/github_reporting/framework_05

< /home/barry/Documents/github_reporting/framework_05 Directories Contents: >
/home/barry/Documents/github_reporting/framework_05/input_file.yaml
<//home/barry/Documents/github_reporting/framework_05 Directories Contents: >

-----
Next: kickoff the Test

</info >
press <enter> to continue
============================

< info >
--------------------------------
executing: /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/barry/Documents/github_reporting/framework_05
< find . -type f >

</find . -type f >  /home/barry/Documents/github_reporting/framework_05

Next: Execute Test number 1

Test: Run the example api query from ./scripts/example/sprint_2023_05_24/bin/sprint_2023_05_24-api-example.sh

--------------------------------
</info >

press <enter> to continue
============================

Yaml file path: /home/barry/Documents/github_reporting/framework_05/input_file.yaml
No yaml file found. Setting defaults
YAML data is valid!
------------------------------
Defaults currently mapped to Command Line input:
Any changes you just made will be written back to the yaml file
you can run this file repeatedly to update the defaults

collection_flag:
h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
v: snapshot
data_collected_time:
h: 'str: When working with file input,use this.-special_char] ok:''_'' no
trailing /. api=ignored. file=required.'
v: ''
organization_name:
h: 'str: e.g: IQSS. Always required.'
v: IQSS
output_base_dir:
h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''.
No trailing /. api=ignored. file=Optional'
v: /home/barry/Documents/github_reporting/framework_05/out/
output_file_base_name:
h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
file=not required.'
v: ''
project_name:
h: 'str: e.g: IQSS/dataverse. Always required.'
v: IQSS/dataverse
sprint_name:
h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
v: snaps_collection
src_dir_name:
h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no
trailing /. api=ignored. file=required.'
v: ''
src_file_name:
h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
.api=ignored. file=required.'
v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
h: 'str: valid values: api | file. Always required.'
v: api
workflow_name:
h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
v: '000'

==========================================================================
You have set the run parameters.

Summary:
collection_flag:
v: snapshot
data_collected_time:
v: ''
organization_name:
v: IQSS
output_base_dir:
v: /home/barry/Documents/github_reporting/framework_05/out/
output_file_base_name:
v: ''
project_name:
v: IQSS/dataverse
sprint_name:
v: snaps_collection
src_dir_name:
v: ''
src_file_name:
v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
v: api
workflow_name:
v: '000'

==========================================================================

To actually run the analysis or collection and analysis run

create_iq_snapshot

from this same directory.

press <enter> to continue
============================
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$ create_iq_snapshot
Running /home/barry/.local/bin/create_iq_snapshot as the main program
YAML data is valid!
input arguments:

collection_flag:
h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
v: snapshot
data_collected_time:
h: 'str: When working with file input,use this.-special_char] ok:''_'' no trailing
/. api=ignored. file=required.'
v: ''
organization_name:
h: 'str: e.g: IQSS. Always required.'
v: IQSS
output_base_dir:
h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''. No
trailing /. api=ignored. file=Optional'
v: /home/barry/Documents/github_reporting/framework_05/out/
output_file_base_name:
h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
file=not required.'
v: ''
project_name:
h: 'str: e.g: IQSS/dataverse. Always required.'
v: IQSS/dataverse
sprint_name:
h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
v: snaps_collection
src_dir_name:
h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no trailing
/. api=ignored. file=required.'
v: ''
src_file_name:
h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv .api=ignored.
file=required.'
v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
h: 'str: valid values: api | file. Always required.'
v: api
workflow_name:
h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
v: '000'

output_file_base_name 4api: snaps_collection-snapshot-000-api-2023_11_29_162235
directory exists or was created now: /home/barry/Documents/github_reporting/framework_05/out/snaps_collection
projects: looking to match IQSS/dataverse with IQSS/consilience
projects: looking to match IQSS/dataverse with IQSS/dataverse
start: 0 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
end: 9 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
start: 9 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
end: 15 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
start: 15 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
end: 22 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
start: 22 cards processed: IQSS/dataverse, Column Ready for Review ā©
end: 36 cards processed: IQSS/dataverse, Column Ready for Review ā©
start: 36 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
end: 40 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
start: 40 cards processed: IQSS/dataverse, Column Ready for QA ā©
end: 43 cards processed: IQSS/dataverse, Column Ready for QA ā©
start: 43 cards processed: IQSS/dataverse, Column QA āœ…
end: 45 cards processed: IQSS/dataverse, Column QA āœ…
start: 45 cards processed: IQSS/dataverse, Column Done šŸš€
>>>>>> 50 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,9997,dataverse ,[Spike - API] Analyze the required API extension to support downloading all dataset files
>>>>>> 100 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,10020,dataverse ,Lookup dataverse by alias or ID when downloading guestbook responses via API
>>>>>> 150 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9946,dataverse ,add python-dvuploader to client libraries page
>>>>>> 200 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9855,dataverse ,get tests passing in Jenkins
>>>>>> 250 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9721,dataverse ,IQSS/8889 - second try to limit file pids management
>>>>>> 300 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9653,dataverse ,VarMetadata fixes for #9175
>>>>>> 350 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,81,dataverse-frontend ,28 - Create npm module for the design system
>>>>>> 400 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9012,dataverse ,rename role.editor to role.contributor
>>>>>> 450 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9373,dataverse ,bump version to 5.13 #9334
>>>>>> 500 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,201,dataverse.harvard.edu ,Purge unused user accounts (as in, first consider and discuss, then, potentially, purge)
>>>>>> 550 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,185,dataverse.harvard.edu ,Add SAEF metadata block to Harvard Dataverse Repository
>>>>>> 600 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8925,dataverse ,GDCC/8924 - Check archival status
>>>>>> 650 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8612,dataverse ,GDCC/8604 Improve archiver error handling
>>>>>> 700 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8683,dataverse ,just deleting a weird tmp file .LCKBundle.properties~
>>>>>> 750 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8555,dataverse ,Iqss/8553 fixrequest access to files in datasets with custom terms
>>>>>> 800 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8409,dataverse ,Direct upload multiple files
>>>>>> 850 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8152,dataverse ,8097 improve index speed for many files
end: 864 cards processed: IQSS/dataverse, Column Done šŸš€
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title'],
dtype='object')
All desired entries are present.
Saving result to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_11_29_162235-sized.tsv
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title', 'Size'],
dtype='object')
All desired entries are present.
Saving results to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_11_29_162235-matrix.tsv
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_11_29_162235-matrix.tsv
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Saving results to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_11_29_162235-snapshot_summary.tsv
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$ cat /home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_11_29_162235-snapshot_summary.tsv
DateTimeStamp   SprintName      ā–¶ SPRINT READY  This Sprint šŸƒā™€ļø šŸƒ      IQSS Team - In Progress  šŸ’»     Ready for Review ā©     In Review šŸ”Ž    Ready for QA ā© QA āœ…   Done šŸš€ SprintActiveCards       ā–¶ SPRINT READY_ This Sprint šŸƒā™€ļø šŸƒ_     IQSS Team - In Progress  šŸ’»_    Ready for Review ā©_      In Review šŸ”Ž_   Ready for QA ā©_        QA āœ…_  Done šŸš€_        SprintActiveCards_      Type: Feature   Type: Bug       Feature: Performance & Stability        Feature: Publishing & Versions  Size: 3 Size: Queued    Card    Number  Size    Size: 10 NIH OTA: 1.5.1   Size: 33        pm.GREI-d-1.5.1 pm.GREI-d-1.5.2 Status: Waiting Type: Suggestion        Feature: Harvesting     pm.GREI-d-2.5.1B        zbklog: Deliverable     D: GDC: Interop With DV Help Wanted: Documentation      Size: 80        D: FixRateLimitingBehaviors       NIH CAFE        Metadata Block  Feature: Email Dataset Contact  pm.GREI-d-2.7.1 pm.GREI-d-2.7.2 NIH OTA: 1.1.1  pm.GREI-d-1.1.1 pm.GREI-d-2.1.1 GDCC: Harvard   MVP Milestone 2 D: Dataset page (View Mode)     Component: Containers   Feature: Permissions    User Role:API User       SPA     GDCC: QDR       GDCC: Borealis  Status: Ready   Curation for Harvard Collection Support Size: 0.5       KULeuven        D: ImproveJsonValidation        GDCC:UNC        hacktoberfest-accepted  Feature: Guestbook      NIH OTA: 1.2.1  NIH GREI Aim 1  Feature: Signposting      Feature: Installation Guide     Feature: Container Guide        Component: Code Infrastructure  Component: JSF  Feature: Developer Guide        NIH OTA: 1.7.1 (reArchitecture) pm.GREI-d-1.7.1 Feature: Templates      Feature: File Upload & Handling D:Dataset: large number of files Feature: Metadata       GDCC: DANS      Feature: API Guide      UX & UI: Design User Role: Curator      D: Payara 6 Upgrade     Feature: Installer      Feature: DOI & Handle   GDCC: DataverseNO       pm.netcdf-hdf5.d        pm.GREI-d-1.7.2 Feature: Internationalization     Feature: Search/Browse  HERMES  Feature: API    Feature: Account & User Info    GDCC: JHU       Feature: User Guide     Feature: Request Access Workflow        D: 5 Core PIDs  pm.GREI-d-1.2.1 D: Design System        User Role: Sysadmin     D:DataverseInDocker      MVP Milestone 1 D: Infra & Deployment Setup     D: API connectivity     Feature: Admin Guide    Feature: External Tool  User Role: Hackathon Participant        HDC     HDC: 2  HDC: 3a Size: SprintTail        pm.GREI-d-1.4.1 pm.GREI-d-1.4.2 Sprint Retrospective      ops: User Accounts      Feature: Indexing       NIH OTA: 1.3.1  pm.GREI-d-1.3.1 pm.GREI-d-1.3.2 NIH OTA DC      pm.epic.nih_harvesting  NIH OTA: 1.4.1  Support: prod. data corruption  Feature: Geospatial     Hackathon: Low Hanging Fruit    User Role: Guest hacktoberfest    Feature: Controlled Vocabulary  HDC: 3b HDC: 1  sz.Medium       GDCC: TDL       sz.trivial      bug     Feature: Notifications  Feature: Messaging      User Role: Depositor    enhancement     sz.Small        Feature: WorldMap & GeoConnect
2023_11_29_162235       snaps_collection        119     103     138     87      72      39      43      2642    400     9       6       7       14      4       3       2       818     31      0.0     0.0     0.0     0.0     39.0    0.0     0.0     165409.0        400.0   50.0      0.0     231.0   0.0     0.0     0.0     13.0    0.0     0.0     0.0     0.0     0.0     80.0    80.0    3.0     3.0     10.0    115.0   115.0   33.0    33.0    33.0    33.0    3.0     3.0     33.0    3.0     3.0     33.0    0.0     0.0     0.0     0.0     0.0     0.0       0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0       0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0       0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0     0.0
barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$
mikeaintworkin commented 11 months ago

done for the night. Tomorrow I will look directly at the error that Ceilyn got and trace back to where it happened in the code.

mikeaintworkin commented 11 months ago

Notes so far today between the two of us.

Mike Reekie :spiral_calendar_pad: 10:10 I agree with what you were saying about there being some case where data is missing. I thought that I had it covered with:

if card_content is not None:

One thing to check. (And I know this is sort of like grasping at straws) Check that your pandas version is > 2.0.0 Mine is 2.0.2 There was a bug related to pd concat and timestamps. I'm not going to pretend that I understand it, but like I said - it's a straw.

#52093 BUG: AttributeError raised with pd.concat between a None and Timestamp

    def _get_project_cards_api_obj(self):

        # return the legacy project columns names
        # check to make sure that they contain the critical columns we care about.
        columns = self._project_object.get_columns()
        # three_months_ago = datetime.datetime.utcnow() - timedelta(days=90)

        self._card_count = 0
        for column in columns:
            column_name = column.name
            cards = column.get_cards(archived_state='not_archived')
            print(f"start: {self._card_count} cards processed: {self._project_object.name}, Column {column.name}")
            for card in cards:
                self._card_count += 1
                # get_content() can take "PullRequest" or "Issue" as an argument
                # These notes are from the source code!
                # https://github.com/PyGithub/PyGithub/blob/master/github/ProjectCard.py
                # Note that the content_url for any card will be an "issue" URL, from
                # which you can retrieve either an Issue or a PullRequest. Unfortunately
                # the API doesn't make it clear which you are dealing with.

                card_content = card.get_content()
                # if card_content is not None and card.updated_at >= three_months_ago:
                if card_content is not None:
                    regex1 = re.compile(r"(/issues/|/pull/)")
                    sub_string = regex1.search(card_content.html_url).group(0).replace("/", "")
                    card_type = "Issue"
                    if sub_string == "pull":
                        card_type = "PullRequest"
                    if self._card_count % 50 == 0:
                        print(f">>>>>> {self._card_count} # cards {self._project_object.name}: {column.name} \
                        ,{card_type} ,{card_content.number},{card_content.repository.name} ,{card_content.title}")
                    new_row = {
                        RequiredDfColumnHeaderNames.value("project"): self._project_object.name,
                        RequiredDfColumnHeaderNames.value("column"): column_name,
                        RequiredDfColumnHeaderNames.value("card"): card_content.title,
                        RequiredDfColumnHeaderNames.value("CardURL"): card_content.html_url,
                        RequiredDfColumnHeaderNames.value("type"): card_type,
                        RequiredDfColumnHeaderNames.value("number"): card_content.number,
                        RequiredDfColumnHeaderNames.value("labels"): str(card_content.labels),
                        RequiredDfColumnHeaderNames.value("repo"): card_content.repository.name,
                        RequiredDfColumnHeaderNames.value("state"): card_content.state,
                        RequiredDfColumnHeaderNames.value("CreatedAt"): card_content.created_at,
                        RequiredDfColumnHeaderNames.value("UpdatedAt"): card_content.updated_at,
                        RequiredDfColumnHeaderNames.value("ClosedAt"): card_content.closed_at,
                        RequiredDfColumnHeaderNames.value("ClosedBy"): ""
                    }
                    self._project_cards = pd.concat([self._project_cards, pd.DataFrame([new_row])], ignore_index=True)
            print(f"  end: {self._card_count} cards processed: {self._project_object.name}, Column {column.name}")
        return True

Ceilyn Boyd :spiral_calendar_pad: 10:10 I'll update everything and see what happens! 10:12 Okay weird, my pandas thinks that it's 2.0.3

Mike Reekie :spiral_calendar_pad: 10:12 Let me update mine 10:14 I'm going to run with 2.0.3 and see what happens if I can.

Mike Reekie :spiral_calendar_pad: 10:42 So - I don't have the answer - but I did find that I did not have a good understanding of virtual environments. You need to invoke the virtual environment that the build was done in prior to running create_iq_snapshot. My code is not crashing either way, but this was an aha moment. I was running this version without knowing -t It's from JUNE barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$ which create_iq_snapshot /home/barry/.local/bin/create_iq_snapshot Correct barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$ source /home/barry/PycharmProjects/iqss_gh_reporting/venv/bin/activate (venv) barry@ubuntux64-20230604:~/Documents/github_reporting/framework_05$ which create_iq_snapshot /home/barry/PycharmProjects/iqss_gh_reporting/venv/bin/create_iq_snapshot (edited)

Ceilyn Boyd :spiral_calendar_pad: 10:42 I confess that I punt with environments and focus on placing requirements on environment variables and module/library versions. 10:43 I find that's simpler. Puts the onus on the end user to do the right thing with their configuration vars.

Mike Reekie :spiral_calendar_pad: 10:55 Ok. I still think it should be working. Let's eliminate paths and versions first. when you have the time, can you capture the who screen history for a build and run? Test: check out the latest code capture... Build run which create_iq_snapshot Run I want to rule out that maybe there's something in the shell scripts or how we build that I didn't take into account. With a full screen capture I can get alot of information about versions of libraries and where libraries and programs live.

Ceilyn Boyd :spiral_calendar_pad: 10:55 I'll try it out later today, thanks! :+1: 1

Message Ceilyn Boyd:spiral_calendar_pad:In a meeting ā€¢ Google Calendar

mikeaintworkin commented 11 months ago

status:

Swapping out pandas version for 2.0.3 did not cause an error for me.

It did turn up that I had created a ./local/bin/ directory that contains actual executables which is not correct. Anything here should be soft-links as far as I understand. It was created in June and may have been the result of an earlier experiment with using venv. If I don't invoke the specific venv, then the files in this directory are in the executable path. I have deleted it.

Ceilyn does not use virtual environments. This should still not cause an issue.

Next Steps:

mikeaintworkin commented 11 months ago

Before I put this down and wait on input I'm going to try to run this totally outside of the virtual environment.

mikeaintworkin commented 11 months ago

OK. So I reworked framework_05 and the build script so that building and running from an environment is optional. I think the next step is to get a bit more information from Ceilyn.

I need:

full checkout build and then a run.

Once you do the checkout try using framework_05.sh -s is the fully qualified path to the scripts directory -w is the top level working directory you want to post the results to.

in my environment this looks like: () change to the top level directory of where my runs go. () run framework_of.sh

cd /home/barry/Documents/github_reporting/framework_05 /home/barry/PycharmProjects/iqss_gh_reporting/scripts/scaffolding/framework_05.sh -s /home/barry/PycharmProjects/iqss_gh_reporting/scripts -w /home/barry/Documents/github_reporting/framework_05

it will create

/home/barry/Documents/github_reporting/framework_05/wrk /home/barry/Documents/github_reporting/framework_05/in /home/barry/Documents/github_reporting/framework_05/out /home/barry/Documents/github_reporting/framework_05/out/snaps_collection

The output will be under snaps_collection directory.

mikeaintworkin commented 11 months ago

We had a working session today. We got bogged down in the problem that my scripts are lazy about dealing directory names that have spaces in them. We initially agreed that we should not require the user to have to put their directory name in quotes.

When storing directory paths (or any string that might potentially contain spaces or special characters) in a variable in Bash, it's generally best practice to enclose the assignment in double quotes. This ensures that the entire string is assigned to the variable as-is, including spaces and special characters, which might otherwise be interpreted differently by the shell.

So, you should use:

bash Copy code SCRIPT_DIR="${OPTARG}" This practice is particularly important when:

Handling User Input or Dynamic Data: If OPTARG comes from user input or another source that might include spaces, using quotes is essential to ensure the entire input is treated as a single string.

e.g., this should work.

(base) bash-3.2$ bash ~/OneDrive\ -\ Harvard\ University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh -s ~/OneDrive\ -\ Harvard\ University/github/iqss_gh_reporting/scripts -w ~/Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/

The more I read though the more I came to the conclusion that we should make users enclose their directories in quotes.

Here is chatgpt's take:

Preventing Word Splitting: Bash splits arguments on spaces by default. If OPTARG contains spaces and isn't quoted, Bash will split it into multiple words, which can lead to unexpected behavior.

Dealing with Special Characters: Apart from spaces, other special characters (like *, ?, &, ;, etc.) can cause issues if not quoted. These characters have special meanings in Bash and can lead to syntax errors or unintended command execution.

In summary, it's a good habit to always quote variable assignments in Bash scripts, especially when the variables are meant to store file paths, command-line arguments, or any data that could potentially include spaces or special characters. This makes your script more robust and less prone to errors arising from unintended word splitting or globbing.

I ran into similar issues using the "~" shortcut, so I'm going to avoid allowing that. At some point the scripts will be smarter. For now my objective is simplicity of debuggging.

mikeaintworkin commented 11 months ago

Another thing that I turned up is that I can't assume the user is going to be using venv. Ceilyn uses conda for her virtual environments.

mikeaintworkin commented 11 months ago

I successfully tested the test collection: From within pycharm, I created a new project by cloning the existing repository. I fixed the quotes issue in the code and prettied up some of the echo statements. I cleaned up the launch script and checked it in. I created the directory names that you used. On my home machine. I executed: cd "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab" bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab" (edited)

mikeaintworkin commented 11 months ago

The output:

perftest@ubuntu:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-snapshot_summary.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-sized.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-matrix.tsv
---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

running bdist_wheel
running build
running build_py
running build_scripts
copying and adjusting workflows/create_iq_snapshot_init -> build/scripts-3.10
copying and adjusting workflows/create_iq_snapshot -> build/scripts-3.10
copying and adjusting workflows/process_labels -> build/scripts-3.10
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/pdata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/utils.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/__init__.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/fetch_from_repository.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/graphql_query_lib.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/transformer.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/sprint_metadata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/process_labels_util.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/legacy.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
running install_egg_info
running egg_info
writing iqss_gh_reporting.egg-info/PKG-INFO
writing dependency_links to iqss_gh_reporting.egg-info/dependency_links.txt
writing requirements to iqss_gh_reporting.egg-info/requires.txt
writing top-level names to iqss_gh_reporting.egg-info/top_level.txt
reading manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
Copying iqss_gh_reporting.egg-info to build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot_init -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/process_labels -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/process_labels to 775
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.dist-info/WHEEL
creating 'dist/iqss_gh_reporting-0.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'iqss_gh_reporting/__init__.py'
adding 'iqss_gh_reporting/fetch_from_repository.py'
adding 'iqss_gh_reporting/graphql_query_lib.py'
adding 'iqss_gh_reporting/legacy.py'
adding 'iqss_gh_reporting/pdata.py'
adding 'iqss_gh_reporting/process_labels_util.py'
adding 'iqss_gh_reporting/sprint_metadata.py'
adding 'iqss_gh_reporting/transformer.py'
adding 'iqss_gh_reporting/utils.py'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init'
adding 'iqss_gh_reporting-0.5.data/scripts/process_labels'
adding 'iqss_gh_reporting-0.5.dist-info/LICENSE.txt'
adding 'iqss_gh_reporting-0.5.dist-info/METADATA'
adding 'iqss_gh_reporting-0.5.dist-info/WHEEL'
adding 'iqss_gh_reporting-0.5.dist-info/top_level.txt'
adding 'iqss_gh_reporting-0.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel

Installing....

Defaulting to user installation because normal site-packages is not writeable
Processing /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting
Preparing metadata (setup.py) ... done
Requirement already satisfied: PyGithub in /usr/local/lib/python3.10/dist-packages (from iqss-gh-reporting==0.5) (1.58.1)
Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/dist-packages (from iqss-gh-reporting==0.5) (3.8.4)
Requirement already satisfied: gql in /usr/local/lib/python3.10/dist-packages (from iqss-gh-reporting==0.5) (3.4.0)
Requirement already satisfied: graphql-py in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (0.8.1)
Requirement already satisfied: numpy in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (1.24.2)
Requirement already satisfied: pandas in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (1.5.3)
Requirement already satisfied: pathvalidate in /usr/local/lib/python3.10/dist-packages (from iqss-gh-reporting==0.5) (2.5.2)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from iqss-gh-reporting==0.5) (5.4.1)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (1.3.3)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (4.0.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (6.0.4)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (3.1.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (23.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp->iqss-gh-reporting==0.5) (1.8.2)
Requirement already satisfied: backoff<3.0,>=1.11.1 in /usr/local/lib/python3.10/dist-packages (from gql->iqss-gh-reporting==0.5) (2.2.1)
Requirement already satisfied: graphql-core<3.3,>=3.2 in /usr/local/lib/python3.10/dist-packages (from gql->iqss-gh-reporting==0.5) (3.2.3)
Requirement already satisfied: ply>=3.6 in /home/perftest/.local/lib/python3.10/site-packages (from graphql-py->iqss-gh-reporting==0.5) (3.11)
Requirement already satisfied: python-dateutil>=2.8.1 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /usr/lib/python3/dist-packages (from pandas->iqss-gh-reporting==0.5) (2022.1)
Requirement already satisfied: pyjwt[crypto]>=2.4.0 in /usr/local/lib/python3.10/dist-packages (from PyGithub->iqss-gh-reporting==0.5) (2.6.0)
Requirement already satisfied: pynacl>=1.4.0 in /usr/lib/python3/dist-packages (from PyGithub->iqss-gh-reporting==0.5) (1.5.0)
Requirement already satisfied: deprecated in /usr/local/lib/python3.10/dist-packages (from PyGithub->iqss-gh-reporting==0.5) (1.2.13)
Requirement already satisfied: requests>=2.14.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.29.0)
Requirement already satisfied: cryptography>=3.4.0 in /usr/lib/python3/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub->iqss-gh-reporting==0.5) (3.4.8)
Requirement already satisfied: cffi>=1.4.1 in /usr/local/lib/python3.10/dist-packages (from pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (1.15.1)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.1->pandas->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (2020.6.20)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (3.3)
Requirement already satisfied: wrapt<2,>=1.10 in /usr/local/lib/python3.10/dist-packages (from deprecated->PyGithub->iqss-gh-reporting==0.5) (1.15.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.4.1->pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (2.21)
Building wheels for collected packages: iqss-gh-reporting
Building wheel for iqss-gh-reporting (setup.py) ... done
Created wheel for iqss-gh-reporting: filename=iqss_gh_reporting-0.5-py3-none-any.whl size=27446 sha256=fd81e2e96164ac1b15e67f8767d90800789b0b192e4a697f11bd5cf6aa5b71d2
Stored in directory: /tmp/pip-ephem-wheel-cache-p68v810x/wheels/ea/99/2a/8e84d09808d2e08b66f55c3cf7168459110e9f5b1548d95c9f
Successfully built iqss-gh-reporting
Installing collected packages: iqss-gh-reporting
Attempting uninstall: iqss-gh-reporting
Found existing installation: iqss-gh-reporting 0.5
Uninstalling iqss-gh-reporting-0.5:
Successfully uninstalled iqss-gh-reporting-0.5
Successfully installed iqss-gh-reporting-0.5
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
_
__
current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
Build and install complete.
The build will put these files and their associated libraries in your path. 
create_iq_snapshot_init
create_iq_snapshot
__
Next Steps:
() Check that the build actually completed succesfully by reviewing the output.
() Test out the create_iq_snapshot_init build correctly using 

create_iq_snapshot_init --help

() Follow the rest of the instructions in the readme
__
++ press <enter> to continue ++
__
-

popd
~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-snapshot_summary.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-sized.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-matrix.tsv
---
--
Next step: setting directories and timestamp for this run
--
++ press <enter> to continue ++
--
-

-
--
Time Stamp: "20231201_183519"
--
---
Directories:
SCRIPT_DIR: "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts"
WRK_DIR_RT: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
INDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/in"
WRKDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/wrk"
OUTDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out"
---
--
-
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-snapshot_summary.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-sized.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-matrix.tsv
---
--
Next step: create_iq_snapshot_init
--
++ press <enter> to continue ++
--
-

Yaml file path: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/input_file.yaml
No yaml file found. Setting defaults
YAML data is valid!
------------------------------
Defaults currently mapped to Command Line input:
Any changes you just made will be written back to the yaml file
you can run this file repeatedly to update the defaults

collection_flag:
h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
v: snapshot
data_collected_time:
h: 'str: When working with file input,use this.-special_char] ok:''_'' no
trailing /. api=ignored. file=required.'
v: ''
organization_name:
h: 'str: e.g: IQSS. Always required.'
v: IQSS
output_base_dir:
h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''.
No trailing /. api=ignored. file=Optional'
v: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/
output_file_base_name:
h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
file=not required.'
v: ''
project_name:
h: 'str: e.g: IQSS/dataverse. Always required.'
v: IQSS/dataverse
sprint_name:
h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
v: snaps_collection
src_dir_name:
h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no
trailing /. api=ignored. file=required.'
v: ''
src_file_name:
h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
.api=ignored. file=required.'
v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
h: 'str: valid values: api | file. Always required.'
v: api
workflow_name:
h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
v: '000'

-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-snapshot_summary.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-sized.tsv
./out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_181725-matrix.tsv
---
--
Next step: create_iq_snapshot
--
++ press <enter> to continue ++
--
-

Running /home/perftest/.local/bin/create_iq_snapshot as the main program
YAML data is valid!
input arguments:

collection_flag:
h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
v: snapshot
data_collected_time:
h: 'str: When working with file input,use this.-special_char] ok:''_'' no trailing
/. api=ignored. file=required.'
v: ''
organization_name:
h: 'str: e.g: IQSS. Always required.'
v: IQSS
output_base_dir:
h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''. No
trailing /. api=ignored. file=Optional'
v: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/
output_file_base_name:
h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
file=not required.'
v: ''
project_name:
h: 'str: e.g: IQSS/dataverse. Always required.'
v: IQSS/dataverse
sprint_name:
h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
v: snaps_collection
src_dir_name:
h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no trailing
/. api=ignored. file=required.'
v: ''
src_file_name:
h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv .api=ignored.
file=required.'
v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
h: 'str: valid values: api | file. Always required.'
v: api
workflow_name:
h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
v: '000'

output_file_base_name 4api: snaps_collection-snapshot-000-api-2023_12_01_183523
directory exists or was created now: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection
projects: looking to match IQSS/dataverse with IQSS/dataverse
Pandas version:1.5.3
start: 0 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
end: 8 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
start: 8 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
end: 15 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
start: 15 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
end: 22 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
start: 22 cards processed: IQSS/dataverse, Column Ready for Review ā©
end: 34 cards processed: IQSS/dataverse, Column Ready for Review ā©
start: 34 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
end: 38 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
start: 38 cards processed: IQSS/dataverse, Column Ready for QA ā©
end: 41 cards processed: IQSS/dataverse, Column Ready for QA ā©
start: 41 cards processed: IQSS/dataverse, Column QA āœ…
end: 44 cards processed: IQSS/dataverse, Column QA āœ…
start: 44 cards processed: IQSS/dataverse, Column Done šŸš€
>>>>>> 50 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,10050,dataverse ,9635 solr improvements
>>>>>> 100 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,10027,dataverse ,Added tabulartags in files metadata for files metadata
>>>>>> 150 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9923,dataverse ,9314 Get JSON object from JsonUtil
>>>>>> 200 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9869,dataverse ,correct Solr 9.3.0 download
>>>>>> 250 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,146,dataverse-frontend ,138 - Files table UI [2/2] - Sorting
>>>>>> 300 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9654,dataverse ,add information about curl -F option without outer quote #4510
>>>>>> 350 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9586,dataverse ,#9565 Fix metrics API "file/byType/monthly" by using specific key cache
>>>>>> 400 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9510,dataverse ,only run extractMetadataNcml on NetCDF or HDF5 files #9441
>>>>>> 450 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9303,dataverse ,9293 - New filter-based design for the API authentication mechanisms (1/2)
>>>>>> 500 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9234,dataverse ,9228 - add OIDC development setup for OIDC login feature testing
>>>>>> 550 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9024,dataverse ,improve docs for making releases
>>>>>> 600 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8961,dataverse ,Change setting name
>>>>>> 650 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8744,dataverse ,File Recognition - Add support for files without extensions
>>>>>> 700 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8614,dataverse ,Large file upload - internationalization of error message
>>>>>> 750 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,126,dataverse.harvard.edu ,Performance: Set up rds test instance for better understanding of config and monitoring options.
>>>>>> 800 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8416,dataverse ,add GitHub integrations
>>>>>> 850 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8262,dataverse ,Identify geojson file types
end: 867 cards processed: IQSS/dataverse, Column Done šŸš€
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title'],
dtype='object')
All desired entries are present.
Saving result to file.
/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_183523-sized.tsv
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title', 'Size'],
dtype='object')
All desired entries are present.
Saving results to file.
/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_183523-matrix.tsv
/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_183523-matrix.tsv
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Saving results to file.
/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_01_183523-snapshot_summary.tsv
mikeaintworkin commented 11 months ago

I was able to get a mac loaner. First I'm going to try a checkout from the CLI on linux from WSL using git from the CLI

mikeaintworkin commented 11 months ago
perftest@IQSS-FWXJRV3:~$ mkdir -p "/home/perftest/OneDrive - Harvard University/github/"
perftest@IQSS-FWXJRV3:~$ cd OneDrive\ -\ Harvard\ University/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University$ cd github/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ ls
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ git clone https://github.com/thisaintwork/iqss_gh_reporting.git
Cloning into 'iqss_gh_reporting'...
remote: Enumerating objects: 1495, done.
remote: Counting objects: 100% (423/423), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 1495 (delta 250), reused 366 (delta 195), pack-reused 1072
Receiving objects: 100% (1495/1495), 10.58 MiB | 2.07 MiB/s, done.
Resolving deltas: 100% (797/797), done.
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ ls -lastr
total 12
4 drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:28 ..
4 drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:28 .
4 drwxrwxr-x 9 perftest perftest 4096 Dec  8 20:28 iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$

cd ~
mkdir -p "./Harvard University/Reekie, Mike - iq_reporting_collab"
cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/

bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
mikeaintworkin commented 11 months ago

First run attempt

perftest@IQSS-FWXJRV3:~$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ ls
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

Traceback (most recent call last):
  File "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/./setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
popd
~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: setting directories and timestamp for this run
--
++ press <enter> to continue ++
--
-

-
--
Time Stamp: "20231208_203238"
--
---
Directories:
SCRIPT_DIR: "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts"
WRK_DIR_RT: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
INDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/in"
WRKDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/wrk"
OUTDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out"
---
--
-
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: create_iq_snapshot_init
--
++ press <enter> to continue ++
--
-

rm: cannot remove './input_file.yaml': No such file or directory
/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh: line 185: create_iq_snapshot_init: command not found
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: create_iq_snapshot
--
++ press <enter> to continue ++
--
-

/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh: line 206: create_iq_snapshot: command not found
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
mikeaintworkin commented 11 months ago

Looked ujp the error. Found reference to do this

sudo apt-get install python3-setuptools
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ sudo apt-get install python3-setuptools
[sudo] password for perftest:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-distutils python3-lib2to3
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-distutils python3-lib2to3 python3-setuptools
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 556 kB of archives.
After this operation, 2961 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-lib2to3 all 3.10.8-1~22.04 [77.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.8-1~22.04 [139 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-setuptools all 59.6.0-1.2ubuntu0.22.04.1 [339 kB]
Fetched 556 kB in 2s (333 kB/s)
Selecting previously unselected package python3-lib2to3.
(Reading database ... 24397 files and directories currently installed.)
Preparing to unpack .../python3-lib2to3_3.10.8-1~22.04_all.deb ...
Unpacking python3-lib2to3 (3.10.8-1~22.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../python3-distutils_3.10.8-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.8-1~22.04) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_59.6.0-1.2ubuntu0.22.04.1_all.deb ...
Unpacking python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up python3-lib2to3 (3.10.8-1~22.04) ...
Setting up python3-distutils (3.10.8-1~22.04) ...
Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
mikeaintworkin commented 11 months ago

another error

snippet:

Building the code here:
../

Building....

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'

, so pip install wheel


I'm not exactly sure how I got to getting this to run correctly! So here is a dump of the screen as far back as I can go in WSL

Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.133.1-microsoft-standard-WSL2 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

This message is shown once a day. To disable it please create the
/root/.hushlogin file.
root@IQSS-FWXJRV3:~# history
    1  gh
    2  ap install gh
    3  apt install gh
    4  snap install gh
    5  gh
    6  gh issue list
    7  gh auth login
    8  gh issue list
    9  gh help
   10  gh repo
   11  gh environment
   12  gh environment GH_REPO /hmdc/DevOpsProjects
   13  gh issue list
   14  gh auth login
   15  gh issue list --repo https://github.com/hmdc/DevOpsProject
   16  gh issue list --repo https://github.com/hmdc/DevOpsProjects
   17  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.RCE_EOL.Migration
   18  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.RCE_EOL.Migration --state open
   19  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.OODV3-ToProduction --state open
   20  pwd
   21  ls -lastr
   22  ls /users
   23  ls /
   24  ls /home
   25  ls -lastr
   26  cd /home
   27  ls
   28  cd
   29  man user
   30  create user perftest
   31  user add
   32  adduser perftest
   33  sudo su perftest
   34  su - perftest
   35  history
   36  su - perftest
   37  cat /etc/sudoers.d
   38  ls /etc/sudoers.d
   39  cat /etc/sudoers.d/README
   40  visudo
   41  usermod -aG sudo perftest
   42  su - perftest
   43  gh environment  GH_CONFIG_DIR /home/perftest/gh
   44  gh environment
   45  ls -lastr
   46  ls -la .local/
   47  snapd
   48  snap
   49  snap remove gh
   50  apt get gh
   51  apt update
   52  apt upgrade
   53  apt install gh
   54  su - perftest
   55  history
   56  apt update
   57  apt upgrade
   58  su - perftest
   59  exit
   60  history
root@IQSS-FWXJRV3:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1244 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [257 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1226 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [199 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1018 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [226 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [41.6 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.5 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1016 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [195 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1179 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [191 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [815 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [152 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36.5 kB]
Fetched 8178 kB in 12s (660 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
31 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@IQSS-FWXJRV3:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  ubuntu-pro-client-l10n
The following packages have been kept back:
  python3-update-manager update-manager-core
The following packages will be upgraded:
  apparmor apt apt-utils curl irqbalance libapparmor1 libapt-pkg6.0 libc-bin libc6 libcurl3-gnutls libcurl4 libgnutls30 libnghttp2-14 libperl5.34 libprocps8 libpython3.10 libpython3.10-minimal
  libpython3.10-stdlib locales perl perl-base perl-modules-5.34 procps python3-cryptography python3-software-properties python3.10 python3.10-minimal software-properties-common ubuntu-advantage-tools
29 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
20 standard LTS security updates
Need to get 31.2 MB of archives.
After this operation, 231 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libperl5.34 amd64 5.34.0-3ubuntu1.3 [4820 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 perl amd64 5.34.0-3ubuntu1.3 [232 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 perl-base amd64 5.34.0-3ubuntu1.3 [1762 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 perl-modules-5.34 all 5.34.0-3ubuntu1.3 [2976 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6 amd64 2.35-0ubuntu3.5 [3235 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-bin amd64 2.35-0ubuntu3.5 [706 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapt-pkg6.0 amd64 2.4.11 [912 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt amd64 2.4.11 [1363 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt-utils amd64 2.4.11 [211 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgnutls30 amd64 3.7.3-4ubuntu1.3 [968 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10 amd64 3.10.12-1~22.04.3 [1948 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10 amd64 3.10.12-1~22.04.3 [508 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-stdlib amd64 3.10.12-1~22.04.3 [1848 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.12-1~22.04.3 [2242 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-minimal amd64 3.10.12-1~22.04.3 [812 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 irqbalance amd64 1.8.0-1ubuntu0.2 [47.2 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libprocps8 amd64 2:3.3.17-6ubuntu2.1 [36.2 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 procps amd64 2:3.3.17-6ubuntu2.1 [378 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapparmor1 amd64 3.0.4-2ubuntu2.3 [39.3 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 locales all 2.35-0ubuntu3.5 [4245 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-advantage-tools amd64 30~22.04 [204 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-pro-client-l10n amd64 30~22.04 [20.3 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apparmor amd64 3.0.4-2ubuntu2.3 [595 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnghttp2-14 amd64 1.43.0-1ubuntu0.1 [76.7 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.15 [194 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.15 [289 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl3-gnutls amd64 7.81.0-1ubuntu1.15 [284 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-cryptography amd64 3.4.8-1ubuntu2.1 [236 kB]
Get:29 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 software-properties-common all 0.99.22.8 [14.1 kB]
Get:30 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-software-properties all 0.99.22.8 [28.8 kB]
Fetched 31.2 MB in 4s (8854 kB/s)
Preconfiguring packages ...
(Reading database ... 24376 files and directories currently installed.)
Preparing to unpack .../libperl5.34_5.34.0-3ubuntu1.3_amd64.deb ...
Unpacking libperl5.34:amd64 (5.34.0-3ubuntu1.3) over (5.34.0-3ubuntu1.2) ...
Preparing to unpack .../perl_5.34.0-3ubuntu1.3_amd64.deb ...
Unpacking perl (5.34.0-3ubuntu1.3) over (5.34.0-3ubuntu1.2) ...
Preparing to unpack .../perl-base_5.34.0-3ubuntu1.3_amd64.deb ...
Unpacking perl-base (5.34.0-3ubuntu1.3) over (5.34.0-3ubuntu1.2) ...
Setting up perl-base (5.34.0-3ubuntu1.3) ...
(Reading database ... 24376 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.34_5.34.0-3ubuntu1.3_all.deb ...
Unpacking perl-modules-5.34 (5.34.0-3ubuntu1.3) over (5.34.0-3ubuntu1.2) ...
Preparing to unpack .../libc6_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6:amd64 (2.35-0ubuntu3.5) over (2.35-0ubuntu3.4) ...
Setting up libc6:amd64 (2.35-0ubuntu3.5) ...
(Reading database ... 24376 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc-bin (2.35-0ubuntu3.5) over (2.35-0ubuntu3.4) ...
Setting up libc-bin (2.35-0ubuntu3.5) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

(Reading database ... 24376 files and directories currently installed.)
Preparing to unpack .../libapt-pkg6.0_2.4.11_amd64.deb ...
Unpacking libapt-pkg6.0:amd64 (2.4.11) over (2.4.10) ...
Setting up libapt-pkg6.0:amd64 (2.4.11) ...
(Reading database ... 24376 files and directories currently installed.)
Preparing to unpack .../archives/apt_2.4.11_amd64.deb ...
Unpacking apt (2.4.11) over (2.4.10) ...
Setting up apt (2.4.11) ...
(Reading database ... 24374 files and directories currently installed.)
Preparing to unpack .../apt-utils_2.4.11_amd64.deb ...
Unpacking apt-utils (2.4.11) over (2.4.10) ...
Preparing to unpack .../libgnutls30_3.7.3-4ubuntu1.3_amd64.deb ...
Unpacking libgnutls30:amd64 (3.7.3-4ubuntu1.3) over (3.7.3-4ubuntu1.2) ...
Setting up libgnutls30:amd64 (3.7.3-4ubuntu1.3) ...
(Reading database ... 24374 files and directories currently installed.)
Preparing to unpack .../00-libpython3.10_3.10.12-1~22.04.3_amd64.deb ...
Unpacking libpython3.10:amd64 (3.10.12-1~22.04.3) over (3.10.12-1~22.04.2) ...
Preparing to unpack .../01-python3.10_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10 (3.10.12-1~22.04.3) over (3.10.12-1~22.04.2) ...
Preparing to unpack .../02-libpython3.10-stdlib_3.10.12-1~22.04.3_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.12-1~22.04.3) over (3.10.12-1~22.04.2) ...
Preparing to unpack .../03-python3.10-minimal_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10-minimal (3.10.12-1~22.04.3) over (3.10.12-1~22.04.2) ...
Preparing to unpack .../04-libpython3.10-minimal_3.10.12-1~22.04.3_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.12-1~22.04.3) over (3.10.12-1~22.04.2) ...
Preparing to unpack .../05-irqbalance_1.8.0-1ubuntu0.2_amd64.deb ...
Unpacking irqbalance (1.8.0-1ubuntu0.2) over (1.8.0-1ubuntu0.1) ...
Preparing to unpack .../06-libprocps8_2%3a3.3.17-6ubuntu2.1_amd64.deb ...
Unpacking libprocps8:amd64 (2:3.3.17-6ubuntu2.1) over (2:3.3.17-6ubuntu2) ...
Preparing to unpack .../07-procps_2%3a3.3.17-6ubuntu2.1_amd64.deb ...
Unpacking procps (2:3.3.17-6ubuntu2.1) over (2:3.3.17-6ubuntu2) ...
Preparing to unpack .../08-libapparmor1_3.0.4-2ubuntu2.3_amd64.deb ...
Unpacking libapparmor1:amd64 (3.0.4-2ubuntu2.3) over (3.0.4-2ubuntu2.2) ...
Preparing to unpack .../09-locales_2.35-0ubuntu3.5_all.deb ...
Unpacking locales (2.35-0ubuntu3.5) over (2.35-0ubuntu3.4) ...
Preparing to unpack .../10-ubuntu-advantage-tools_30~22.04_amd64.deb ...
Unpacking ubuntu-advantage-tools (30~22.04) over (29.4~22.04) ...
Selecting previously unselected package ubuntu-pro-client-l10n.
Preparing to unpack .../11-ubuntu-pro-client-l10n_30~22.04_amd64.deb ...
Unpacking ubuntu-pro-client-l10n (30~22.04) ...
Preparing to unpack .../12-apparmor_3.0.4-2ubuntu2.3_amd64.deb ...
Unpacking apparmor (3.0.4-2ubuntu2.3) over (3.0.4-2ubuntu2.2) ...
Preparing to unpack .../13-libnghttp2-14_1.43.0-1ubuntu0.1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1ubuntu0.1) over (1.43.0-1build3) ...
Preparing to unpack .../14-curl_7.81.0-1ubuntu1.15_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.15) over (7.81.0-1ubuntu1.14) ...
Preparing to unpack .../15-libcurl4_7.81.0-1ubuntu1.15_amd64.deb ...
Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.15) over (7.81.0-1ubuntu1.14) ...
Preparing to unpack .../16-libcurl3-gnutls_7.81.0-1ubuntu1.15_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.15) over (7.81.0-1ubuntu1.14) ...
Preparing to unpack .../17-python3-cryptography_3.4.8-1ubuntu2.1_amd64.deb ...
Unpacking python3-cryptography (3.4.8-1ubuntu2.1) over (3.4.8-1ubuntu2) ...
Preparing to unpack .../18-software-properties-common_0.99.22.8_all.deb ...
Unpacking software-properties-common (0.99.22.8) over (0.99.22.7) ...
Preparing to unpack .../19-python3-software-properties_0.99.22.8_all.deb ...
Unpacking python3-software-properties (0.99.22.8) over (0.99.22.7) ...
Setting up libapparmor1:amd64 (3.0.4-2ubuntu2.3) ...
Setting up apt-utils (2.4.11) ...
Setting up irqbalance (1.8.0-1ubuntu0.2) ...
Setting up libnghttp2-14:amd64 (1.43.0-1ubuntu0.1) ...
Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.15) ...
Setting up perl-modules-5.34 (5.34.0-3ubuntu1.3) ...
Setting up locales (2.35-0ubuntu3.5) ...
Generating locales (this might take a while)...
Generation complete.
Setting up apparmor (3.0.4-2ubuntu2.3) ...
Setting up python3-software-properties (0.99.22.8) ...
Setting up python3-cryptography (3.4.8-1ubuntu2.1) ...
Setting up libpython3.10-minimal:amd64 (3.10.12-1~22.04.3) ...
Setting up libcurl4:amd64 (7.81.0-1ubuntu1.15) ...
Setting up curl (7.81.0-1ubuntu1.15) ...
Setting up ubuntu-advantage-tools (30~22.04) ...
Removing obsolete conffile /etc/ubuntu-advantage/help_data.yaml ...
Setting up libprocps8:amd64 (2:3.3.17-6ubuntu2.1) ...
Setting up ubuntu-pro-client-l10n (30~22.04) ...
Setting up libperl5.34:amd64 (5.34.0-3ubuntu1.3) ...
Setting up python3.10-minimal (3.10.12-1~22.04.3) ...
Setting up software-properties-common (0.99.22.8) ...
Setting up libpython3.10-stdlib:amd64 (3.10.12-1~22.04.3) ...
Setting up perl (5.34.0-3ubuntu1.3) ...
Setting up procps (2:3.3.17-6ubuntu2.1) ...
Setting up libpython3.10:amd64 (3.10.12-1~22.04.3) ...
Setting up python3.10 (3.10.12-1~22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

root@IQSS-FWXJRV3:~# history
    1  gh
    2  ap install gh
    3  apt install gh
    4  snap install gh
    5  gh
    6  gh issue list
    7  gh auth login
    8  gh issue list
    9  gh help
   10  gh repo
   11  gh environment
   12  gh environment GH_REPO /hmdc/DevOpsProjects
   13  gh issue list
   14  gh auth login
   15  gh issue list --repo https://github.com/hmdc/DevOpsProject
   16  gh issue list --repo https://github.com/hmdc/DevOpsProjects
   17  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.RCE_EOL.Migration
   18  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.RCE_EOL.Migration --state open
   19  gh issue list --repo https://github.com/hmdc/DevOpsProjects --label prj.OODV3-ToProduction --state open
   20  pwd
   21  ls -lastr
   22  ls /users
   23  ls /
   24  ls /home
   25  ls -lastr
   26  cd /home
   27  ls
   28  cd
   29  man user
   30  create user perftest
   31  user add
   32  adduser perftest
   33  sudo su perftest
   34  su - perftest
   35  history
   36  su - perftest
   37  cat /etc/sudoers.d
   38  ls /etc/sudoers.d
   39  cat /etc/sudoers.d/README
   40  visudo
   41  usermod -aG sudo perftest
   42  su - perftest
   43  gh environment  GH_CONFIG_DIR /home/perftest/gh
   44  gh environment
   45  ls -lastr
   46  ls -la .local/
   47  snapd
   48  snap
   49  snap remove gh
   50  apt get gh
   51  apt update
   52  apt upgrade
   53  apt install gh
   54  su - perftest
   55  history
   56  apt update
   57  apt upgrade
   58  su - perftest
   59  exit
   60  history
   61  apt update
   62  apt upgrade
   63  history
root@IQSS-FWXJRV3:~# su - perftes
su: user perftes does not exist or the user entry does not contain all the required fields
root@IQSS-FWXJRV3:~# t
t: command not found
root@IQSS-FWXJRV3:~# su - perftest
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.133.1-microsoft-standard-WSL2 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

This message is shown once a day. To disable it please create the
/home/perftest/.hushlogin file.
perftest@IQSS-FWXJRV3:~$ sudo apt update
[sudo] password for perftest:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
perftest@IQSS-FWXJRV3:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  python3-update-manager update-manager-core
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
perftest@IQSS-FWXJRV3:~$ git
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--super-prefix=<path>] [--config-env=<name>=<envvar>]
           <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone     Clone a repository into a new directory
   init      Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add       Add file contents to the index
   mv        Move or rename a file, a directory, or a symlink
   restore   Restore working tree files
   rm        Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect    Use binary search to find the commit that introduced a bug
   diff      Show changes between commits, commit and working tree, etc
   grep      Print lines matching a pattern
   log       Show commit logs
   show      Show various types of objects
   status    Show the working tree status

grow, mark and tweak your common history
   branch    List, create, or delete branches
   commit    Record changes to the repository
   merge     Join two or more development histories together
   rebase    Reapply commits on top of another base tip
   reset     Reset current HEAD to the specified state
   switch    Switch branches
   tag       Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch     Download objects and refs from another repository
   pull      Fetch from and integrate with another repository or a local branch
   push      Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
See 'git help git' for an overview of the system.
perftest@IQSS-FWXJRV3:~$ pwd
/home/perftest
perftest@IQSS-FWXJRV3:~$ ls
downloads  gh  snap  tmp.txt
perftest@IQSS-FWXJRV3:~$ mkdir devCode
perftest@IQSS-FWXJRV3:~$ cd devCode/
perftest@IQSS-FWXJRV3:~/devCode$ mkdir iqss_git
perftest@IQSS-FWXJRV3:~/devCode$ cd iqss_git/
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ git clone https://github.com/thisaintwork/iqss_gh_reporting.git
Cloning into 'iqss_gh_reporting'...
remote: Enumerating objects: 1495, done.
remote: Counting objects: 100% (423/423), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 1495 (delta 250), reused 366 (delta 195), pack-reused 1072
Receiving objects: 100% (1495/1495), 10.58 MiB | 2.04 MiB/s, done.
Resolving deltas: 100% (797/797), done.
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ pwd
/home/perftest/devCode/iqss_git
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ ls
iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ ls -la
total 12
drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:19 .
drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:09 ..
drwxrwxr-x 9 perftest perftest 4096 Dec  8 20:20 iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ mv iqss_gh_reporting/ ..
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ ls
perftest@IQSS-FWXJRV3:~/devCode/iqss_git$ cd ..
perftest@IQSS-FWXJRV3:~/devCode$ ls
iqss_gh_reporting  iqss_git
perftest@IQSS-FWXJRV3:~/devCode$ rmdir iqss_git
perftest@IQSS-FWXJRV3:~/devCode$ ls
iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/devCode$ cd iqss_gh_reporting/
perftest@IQSS-FWXJRV3:~/devCode/iqss_gh_reporting$ ls
LICENSE.txt  README.md  deprecated  docs  iqss_gh_reporting  scripts  setup.py  tests  workflows
perftest@IQSS-FWXJRV3:~/devCode/iqss_gh_reporting$ https://github.com/thisaintwork/iqss_gh_reporting.git^C
perftest@IQSS-FWXJRV3:~/devCode/iqss_gh_reporting$ cd ~
mkdir ./"Harvard University/Reekie, Mike - iq_reporting_collab"
mkdir: cannot create directory ā€˜./Harvard University/Reekie, Mike - iq_reporting_collabā€™: No such file or directory
perftest@IQSS-FWXJRV3:~$ ls
devCode  downloads  gh  snap  tmp.txt
perftest@IQSS-FWXJRV3:~$ mkdir -p "./Harvard University/Reekie, Mike - iq_reporting_collab"
perftest@IQSS-FWXJRV3:~$ ls -la
total 56
drwxr-x--- 8 perftest perftest 4096 Dec  8 20:23  .
drwxr-xr-x 3 root     root     4096 Sep 28 11:38  ..
-rw------- 1 perftest perftest 2429 Nov  7 14:10  .bash_history
-rw-r--r-- 1 perftest perftest  220 Sep 28 11:38  .bash_logout
-rw-r--r-- 1 perftest perftest 3771 Sep 28 11:38  .bashrc
drwxrwx--x 3 perftest perftest 4096 Nov  7 13:00  .config
-rw-rw-r-- 1 perftest perftest    0 Dec  8 20:05  .motd_shown
-rw-r--r-- 1 perftest perftest  807 Sep 28 11:38  .profile
-rw-r--r-- 1 perftest perftest    0 Sep 28 11:51  .sudo_as_admin_successful
-rw-rw-r-- 1 perftest perftest  165 Oct  2 17:19  .wget-hsts
drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:23 'Harvard University'
drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:20  devCode
drwxrwxr-x 2 perftest perftest 4096 Oct  2 17:19  downloads
drwxrwx--x 2 perftest perftest 4096 Sep 28 12:04  gh
drwx------ 3 perftest perftest 4096 Sep 28 11:47  snap
-rw-rw-r-- 1 perftest perftest 1935 Sep 28 12:07  tmp.txt
perftest@IQSS-FWXJRV3:~$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
-bash: cd: Harvard University/Reekie, Mike - iq_reporting_collab/: No such file or directory
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
bash: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh: No such file or directory
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ cd ../
perftest@IQSS-FWXJRV3:~/Harvard University$ cd
perftest@IQSS-FWXJRV3:~$ mkdir "/home/perftest/OneDrive - Harvard University/github/"
mkdir: cannot create directory ā€˜/home/perftest/OneDrive - Harvard University/github/ā€™: No such file or directory
perftest@IQSS-FWXJRV3:~$ mkdir -p "/home/perftest/OneDrive - Harvard University/github/"
perftest@IQSS-FWXJRV3:~$ cd OneDrive\ -\ Harvard\ University/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University$ cd github/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ ls
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ git clone https://github.com/thisaintwork/iqss_gh_reporting.git
Cloning into 'iqss_gh_reporting'...
remote: Enumerating objects: 1495, done.
remote: Counting objects: 100% (423/423), done.
remote: Compressing objects: 100% (224/224), done.
remote: Total 1495 (delta 250), reused 366 (delta 195), pack-reused 1072
Receiving objects: 100% (1495/1495), 10.58 MiB | 2.07 MiB/s, done.
Resolving deltas: 100% (797/797), done.
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ ls -lastr
total 12
4 drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:28 ..
4 drwxrwxr-x 3 perftest perftest 4096 Dec  8 20:28 .
4 drwxrwxr-x 9 perftest perftest 4096 Dec  8 20:28 iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ cd ..
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University$ cd ..
perftest@IQSS-FWXJRV3:~$ ls
'Harvard University'  'OneDrive - Harvard University'   devCode   downloads   gh   snap   tmp.txt
perftest@IQSS-FWXJRV3:~$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ ls
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

Traceback (most recent call last):
  File "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/./setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
popd
~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: setting directories and timestamp for this run
--
++ press <enter> to continue ++
--
-

-
--
Time Stamp: "20231208_203238"
--
---
Directories:
SCRIPT_DIR: "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts"
WRK_DIR_RT: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
INDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/in"
WRKDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/wrk"
OUTDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out"
---
--
-
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: create_iq_snapshot_init
--
++ press <enter> to continue ++
--
-

rm: cannot remove './input_file.yaml': No such file or directory
/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh: line 185: create_iq_snapshot_init: command not found
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: create_iq_snapshot
--
++ press <enter> to continue ++
--
-

/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh: line 206: create_iq_snapshot: command not found
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ sudo apt-get install python3-setuptools
[sudo] password for perftest:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-distutils python3-lib2to3
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-distutils python3-lib2to3 python3-setuptools
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 556 kB of archives.
After this operation, 2961 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-lib2to3 all 3.10.8-1~22.04 [77.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.8-1~22.04 [139 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-setuptools all 59.6.0-1.2ubuntu0.22.04.1 [339 kB]
Fetched 556 kB in 2s (333 kB/s)
Selecting previously unselected package python3-lib2to3.
(Reading database ... 24397 files and directories currently installed.)
Preparing to unpack .../python3-lib2to3_3.10.8-1~22.04_all.deb ...
Unpacking python3-lib2to3 (3.10.8-1~22.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../python3-distutils_3.10.8-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.8-1~22.04) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_59.6.0-1.2ubuntu0.22.04.1_all.deb ...
Unpacking python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up python3-lib2to3 (3.10.8-1~22.04) ...
Setting up python3-distutils (3.10.8-1~22.04) ...
Setting up python3-setuptools (59.6.0-1.2ubuntu0.22.04.1) ...
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'
popd
~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: setting directories and timestamp for this run
--
++ press <enter> to continue ++
--
-
        ^C
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python --version
Command 'python' not found, did you mean:
  command 'python3' from deb python3
  command 'python' from deb python-is-python3
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python3 --version
Python 3.10.12
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python3 setup.py bdist_wheel
python3: can't open file '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/setup.py': [Errno 2] No such file or directory
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ pwd
/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ pip install wheel
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ which python
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python
Command 'python' not found, did you mean:
  command 'python3' from deb python3
  command 'python' from deb python-is-python3
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python3
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ which python3
/usr/bin/python3
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ history| apt
apt 2.4.11 (amd64)
Usage: apt [options] command

apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.

Most used commands:
  list - list packages based on package names
  search - search in package descriptions
  show - show package details
  install - install packages
  reinstall - reinstall packages
  remove - remove packages
  autoremove - Remove automatically all unused packages
  update - update list of available packages
  upgrade - upgrade the system by installing/upgrading packages
  full-upgrade - upgrade the system by removing/installing/upgrading packages
  edit-sources - edit the source information file
  satisfy - satisfy dependency strings

See apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
                                        This APT has Super Cow Powers.
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ history | grep apt
   48  sudo apt update gh
   49  sudo apt update
   50  sudo apt upgrade -y
   62  sudo apt-get update
   63  sudo apt-get install dpkg -i gh_2.35.0_linux_amd64.deb
   64  sudo apt-get install dpkg -f gh_2.35.0_linux_amd64.deb
   65  sudo apt-get install dpkg -f ./gh_2.35.0_linux_amd64.deb
   85  sudo apt update
   86  sudo apt upgrade
  127  sudo apt-get install python3-setuptools
  138  history| apt
  139  history | grep apt
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ sudo apt-get install wheel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wheel
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ python3 setup.py bdist_wheel
python3: can't open file '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/setup.py': [Errno 2] No such file or directory
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ cd
perftest@IQSS-FWXJRV3:~$ cd OneDrive\ -\ Harvard\ University/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University$ ls
github
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University$ cd github/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ ls
iqss_gh_reporting
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github$ cd iqss_gh_reporting/
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ ls
LICENSE.txt  README.md  deprecated  docs  iqss_gh_reporting  scripts  setup.py  tests  workflows
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ python3 setup.py bdist_wheel
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ pip install wheel
Command 'pip' not found, but can be installed with:
sudo apt install python3-pip
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan6 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdeflate0 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libfontconfig1 libfreetype6
  libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnsl-dev libpython3-dev libpython3.10-dev libquadmath0
  libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make manpages-dev python3-dev python3-wheel python3.10-dev rpcsvc-proto zlib1g-dev
Suggested packages:
  bzip2-doc cpp-doc gcc-11-locales debian-keyring g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-11-multilib apache2 | lighttpd | httpd glibc-doc
  bzr libgd-tools libstdc++-11-doc make-doc
The following NEW packages will be installed:
  build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11 gcc-11-base javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan6 libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdeflate0 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libfontconfig1 libfreetype6
  libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnsl-dev libpython3-dev libpython3.10-dev libquadmath0
  libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4 linux-libc-dev lto-disabled-list make manpages-dev python3-dev python3-pip python3-wheel python3.10-dev rpcsvc-proto zlib1g-dev
0 upgraded, 65 newly installed, 0 to remove and 2 not upgraded.
Need to get 71.7 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.5 [20.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-91.101 [1332 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.5 [2098 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11-base amd64 11.4.0-1ubuntu1~22.04 [20.2 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 libisl23 amd64 0.24-2build1 [727 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmpc3 amd64 1.2.1-2build1 [46.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 cpp-11 amd64 11.4.0-1ubuntu1~22.04 [10.0 MB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 cpp amd64 4:11.2.0-1ubuntu1 [27.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.3.0-1ubuntu1~22.04 [48.3 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgomp1 amd64 12.3.0-1ubuntu1~22.04 [126 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libitm1 amd64 12.3.0-1ubuntu1~22.04 [30.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libatomic1 amd64 12.3.0-1ubuntu1~22.04 [10.4 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libasan6 amd64 11.4.0-1ubuntu1~22.04 [2282 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 liblsan0 amd64 12.3.0-1ubuntu1~22.04 [1069 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtsan0 amd64 11.4.0-1ubuntu1~22.04 [2260 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libubsan1 amd64 12.3.0-1ubuntu1~22.04 [976 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libquadmath0 amd64 12.3.0-1ubuntu1~22.04 [154 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.4.0-1ubuntu1~22.04 [2517 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.4.0-1ubuntu1~22.04 [20.1 MB]
Get:24 http://archive.ubuntu.com/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5112 B]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libstdc++-11-dev amd64 11.4.0-1ubuntu1~22.04 [2101 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 g++-11 amd64 11.4.0-1ubuntu1~22.04 [11.4 MB]
Get:27 http://archive.ubuntu.com/ubuntu jammy/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1412 B]
Get:28 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Get:29 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdpkg-perl all 1.21.1ubuntu2.2 [237 kB]
Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 bzip2 amd64 1.0.8-5build1 [34.8 kB]
Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 lto-disabled-list all 24 [12.5 kB]
Get:32 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dpkg-dev all 1.21.1ubuntu2.2 [922 kB]
Get:33 http://archive.ubuntu.com/ubuntu jammy/main amd64 build-essential amd64 12.9ubuntu3 [4744 B]
Get:34 http://archive.ubuntu.com/ubuntu jammy/main amd64 libfakeroot amd64 1.28-1ubuntu1 [31.5 kB]
Get:35 http://archive.ubuntu.com/ubuntu jammy/main amd64 fakeroot amd64 1.28-1ubuntu1 [60.4 kB]
Get:36 http://archive.ubuntu.com/ubuntu jammy/main amd64 fonts-dejavu-core all 2.37-2build1 [1041 kB]
Get:37 http://archive.ubuntu.com/ubuntu jammy/main amd64 fontconfig-config all 2.13.1-4.2ubuntu5 [29.1 kB]
Get:38 http://archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5936 B]
Get:39 http://archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]
Get:40 http://archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6build3 [11.9 kB]
Get:41 http://archive.ubuntu.com/ubuntu jammy/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:42 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libfreetype6 amd64 2.11.1+dfsg-1ubuntu0.2 [389 kB]
Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 libfontconfig1 amd64 2.13.1-4.2ubuntu5 [131 kB]
Get:44 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg-turbo8 amd64 2.1.2-0ubuntu1 [134 kB]
Get:45 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjpeg8 amd64 8c-2ubuntu10 [2264 B]
Get:46 http://archive.ubuntu.com/ubuntu jammy/main amd64 libdeflate0 amd64 1.10-2 [70.9 kB]
Get:47 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libjbig0 amd64 2.1-3.1ubuntu0.22.04.1 [29.2 kB]
Get:48 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwebp7 amd64 1.2.2-2ubuntu0.22.04.2 [206 kB]
Get:49 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtiff5 amd64 4.3.0-6ubuntu0.7 [185 kB]
Get:50 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxpm4 amd64 1:3.5.12-1ubuntu0.22.04.2 [36.7 kB]
Get:51 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgd3 amd64 2.3.0-2ubuntu2 [129 kB]
Get:52 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-devtools amd64 2.35-0ubuntu3.5 [28.9 kB]
Get:53 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libexpat1-dev amd64 2.4.7-1ubuntu0.2 [147 kB]
Get:54 http://archive.ubuntu.com/ubuntu jammy/main amd64 libfile-fcntllock-perl amd64 0.22-3build7 [33.9 kB]
Get:55 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
Get:56 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjs-underscore all 1.13.2~dfsg-2 [118 kB]
Get:57 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjs-sphinxdoc all 4.3.2-1 [139 kB]
Get:58 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
Get:59 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-dev amd64 3.10.12-1~22.04.3 [4762 kB]
Get:60 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-dev amd64 3.10.6-1~22.04 [7166 B]
Get:61 http://archive.ubuntu.com/ubuntu jammy/main amd64 manpages-dev all 5.10-1ubuntu1 [2309 kB]
Get:62 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-dev amd64 3.10.12-1~22.04.3 [507 kB]
Get:63 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-dev amd64 3.10.6-1~22.04 [26.0 kB]
Get:64 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-wheel all 0.37.1-2ubuntu0.22.04.1 [32.0 kB]
Get:65 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.4 [1305 kB]
Fetched 71.7 MB in 18s (4012 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libc-dev-bin.
(Reading database ... 24812 files and directories currently installed.)
Preparing to unpack .../00-libc-dev-bin_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.5) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../01-linux-libc-dev_5.15.0-91.101_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-91.101) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../02-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../04-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../05-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.5) ...
Selecting previously unselected package gcc-11-base:amd64.
Preparing to unpack .../07-gcc-11-base_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../08-libisl23_0.24-2build1_amd64.deb ...
Unpacking libisl23:amd64 (0.24-2build1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.2.1-2build1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.1-2build1) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../10-cpp-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../16-libasan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../19-libubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../20-libquadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../21-libgcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../22-gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../23-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-11-dev:amd64.
Preparing to unpack .../24-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11.
Preparing to unpack .../25-g++-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../26-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../27-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../28-libdpkg-perl_1.21.1ubuntu2.2_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.2) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../29-bzip2_1.0.8-5build1_amd64.deb ...
Unpacking bzip2 (1.0.8-5build1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../30-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.21.1ubuntu2.2_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.2) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../33-libfakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.28-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.28-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../35-fonts-dejavu-core_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-core (2.37-2build1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../36-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../37-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../38-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../39-libalgorithm-diff-xs-perl_0.04-6build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../40-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../41-libfreetype6_2.11.1+dfsg-1ubuntu0.2_amd64.deb ...
Unpacking libfreetype6:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../42-libfontconfig1_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../43-libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../44-libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../45-libdeflate0_1.10-2_amd64.deb ...
Unpacking libdeflate0:amd64 (1.10-2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../46-libjbig0_2.1-3.1ubuntu0.22.04.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../47-libwebp7_1.2.2-2ubuntu0.22.04.2_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../48-libtiff5_4.3.0-6ubuntu0.7_amd64.deb ...
Unpacking libtiff5:amd64 (4.3.0-6ubuntu0.7) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../49-libxpm4_1%3a3.5.12-1ubuntu0.22.04.2_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../50-libgd3_2.3.0-2ubuntu2_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../51-libc-devtools_2.35-0ubuntu3.5_amd64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.5) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../52-libexpat1-dev_2.4.7-1ubuntu0.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../53-libfile-fcntllock-perl_0.22-3build7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build7) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../54-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../55-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../56-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../57-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../58-libpython3.10-dev_3.10.12-1~22.04.3_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.12-1~22.04.3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../59-libpython3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../60-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../61-python3.10-dev_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10-dev (3.10.12-1~22.04.3) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../62-python3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../63-python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../64-python3-pip_22.0.2+dfsg-1ubuntu0.4_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.4) ...
Setting up javascript-common (11+nmu1) ...
Setting up gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up lto-disabled-list (24) ...
Setting up libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Setting up libfile-fcntllock-perl (0.22-3build7) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up libdeflate0:amd64 (1.10-2) ...
Setting up linux-libc-dev:amd64 (5.15.0-91.101) ...
Setting up libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up bzip2 (1.0.8-5build1) ...
Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Setting up libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Setting up libfakeroot:amd64 (1.28-1ubuntu1) ...
Setting up libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up fakeroot (1.28-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up libfreetype6:amd64 (2.11.1+dfsg-1ubuntu0.2) ...
Setting up make (4.3-4.1build1) ...
Setting up libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libmpc3:amd64 (1.2.1-2build1) ...
Setting up libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up fonts-dejavu-core (2.37-2build1) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.4) ...
Setting up libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Setting up libdpkg-perl (1.21.1ubuntu2.2) ...
Setting up libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Setting up libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libisl23:amd64 (0.24-2build1) ...
Setting up libc-dev-bin (2.35-0ubuntu3.5) ...
Setting up libalgorithm-diff-xs-perl (0.04-6build3) ...
Setting up libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up libjpeg8:amd64 (8c-2ubuntu10) ...
Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up dpkg-dev (1.21.1ubuntu2.2) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ...
Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.5) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.7) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2) ...
Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libc-devtools (2.35-0ubuntu3.5) ...
Setting up g++-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.3) ...
Setting up python3.10-dev (3.10.12-1~22.04.3) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Setting up libpython3-dev:amd64 (3.10.6-1~22.04) ...
Setting up python3-dev (3.10.6-1~22.04) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link

perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ pip install wheel
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.37.1)
perftest@IQSS-FWXJRV3:~/OneDrive - Harvard University/github/iqss_gh_reporting$ cd
perftest@IQSS-FWXJRV3:~$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
in / out/ wrk/
perftest@IQSS-FWXJRV3:~$ cd Harvard\ University/Reekie\,\ Mike\ -\ iq_reporting_collab/
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/iqss_gh_reporting
copying iqss_gh_reporting/utils.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/transformer.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/pdata.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/fetch_from_repository.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/sprint_metadata.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/__init__.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/process_labels_util.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/legacy.py -> build/lib/iqss_gh_reporting
copying iqss_gh_reporting/graphql_query_lib.py -> build/lib/iqss_gh_reporting
running build_scripts
creating build/scripts-3.10
copying and adjusting workflows/create_iq_snapshot_init -> build/scripts-3.10
copying and adjusting workflows/create_iq_snapshot -> build/scripts-3.10
copying and adjusting workflows/process_labels -> build/scripts-3.10
changing mode of build/scripts-3.10/create_iq_snapshot_init from 664 to 775
changing mode of build/scripts-3.10/create_iq_snapshot from 664 to 775
changing mode of build/scripts-3.10/process_labels from 664 to 775
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/utils.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/transformer.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/pdata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/fetch_from_repository.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/sprint_metadata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/__init__.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/process_labels_util.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/legacy.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/graphql_query_lib.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
running install_egg_info
running egg_info
creating iqss_gh_reporting.egg-info
writing iqss_gh_reporting.egg-info/PKG-INFO
writing dependency_links to iqss_gh_reporting.egg-info/dependency_links.txt
writing requirements to iqss_gh_reporting.egg-info/requires.txt
writing top-level names to iqss_gh_reporting.egg-info/top_level.txt
writing manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
reading manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
Copying iqss_gh_reporting.egg-info to build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/process_labels -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot_init -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/process_labels to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init to 775
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.dist-info/WHEEL
creating 'dist/iqss_gh_reporting-0.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'iqss_gh_reporting/__init__.py'
adding 'iqss_gh_reporting/fetch_from_repository.py'
adding 'iqss_gh_reporting/graphql_query_lib.py'
adding 'iqss_gh_reporting/legacy.py'
adding 'iqss_gh_reporting/pdata.py'
adding 'iqss_gh_reporting/process_labels_util.py'
adding 'iqss_gh_reporting/sprint_metadata.py'
adding 'iqss_gh_reporting/transformer.py'
adding 'iqss_gh_reporting/utils.py'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init'
adding 'iqss_gh_reporting-0.5.data/scripts/process_labels'
adding 'iqss_gh_reporting-0.5.dist-info/LICENSE.txt'
adding 'iqss_gh_reporting-0.5.dist-info/METADATA'
adding 'iqss_gh_reporting-0.5.dist-info/WHEEL'
adding 'iqss_gh_reporting-0.5.dist-info/top_level.txt'
adding 'iqss_gh_reporting-0.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel

Installing....

Defaulting to user installation because normal site-packages is not writeable
Processing /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting
  Preparing metadata (setup.py) ... done
Collecting PyGithub
  Downloading PyGithub-2.1.1-py3-none-any.whl (302 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 302.9/302.9 KB 1.7 MB/s eta 0:00:00
Collecting aiohttp
  Downloading aiohttp-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 1.2/1.2 MB 5.3 MB/s eta 0:00:00
Collecting gql
  Downloading gql-3.4.1-py2.py3-none-any.whl (65 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 65.1/65.1 KB 2.6 MB/s eta 0:00:00
Collecting graphql-py
  Downloading graphql-py-0.8.1.tar.gz (13 kB)
  Preparing metadata (setup.py) ... done
Collecting numpy
  Downloading numpy-1.26.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 18.2/18.2 MB 6.9 MB/s eta 0:00:00
Collecting pandas
  Downloading pandas-2.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 12.3/12.3 MB 8.0 MB/s eta 0:00:00
Collecting pathvalidate
  Downloading pathvalidate-3.2.0-py3-none-any.whl (23 kB)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from iqss-gh-reporting==0.5) (5.4.1)
Collecting async-timeout<5.0,>=4.0
  Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting yarl<2.0,>=1.0
  Downloading yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 301.6/301.6 KB 5.1 MB/s eta 0:00:00
Collecting attrs>=17.3.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 61.2/61.2 KB 2.9 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5
  Downloading multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 114.5/114.5 KB 5.1 MB/s eta 0:00:00
Collecting frozenlist>=1.1.1
  Downloading frozenlist-1.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (225 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 225.7/225.7 KB 5.3 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2
  Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting graphql-core<3.3,>=3.2
  Downloading graphql_core-3.2.3-py3-none-any.whl (202 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 202.9/202.9 KB 6.5 MB/s eta 0:00:00
Collecting backoff<3.0,>=1.11.1
  Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Collecting ply>=3.6
  Downloading ply-3.11-py2.py3-none-any.whl (49 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 49.6/49.6 KB 2.3 MB/s eta 0:00:00
Collecting tzdata>=2022.1
  Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 341.8/341.8 KB 5.3 MB/s eta 0:00:00
Collecting python-dateutil>=2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 247.7/247.7 KB 5.3 MB/s eta 0:00:00
Collecting pytz>=2020.1
  Downloading pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 502.5/502.5 KB 6.1 MB/s eta 0:00:00
Collecting typing-extensions>=4.0.0
  Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting pyjwt[crypto]>=2.4.0
  Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
Collecting urllib3>=1.26.0
  Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 104.6/104.6 KB 4.6 MB/s eta 0:00:00
Collecting requests>=2.14.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 62.6/62.6 KB 3.2 MB/s eta 0:00:00
Collecting Deprecated
  Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
Collecting pynacl>=1.4.0
  Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 856.7/856.7 KB 6.1 MB/s eta 0:00:00
Requirement already satisfied: cryptography>=3.4.0 in /usr/lib/python3/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub->iqss-gh-reporting==0.5) (3.4.8)
Collecting cffi>=1.4.1
  Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 443.9/443.9 KB 7.5 MB/s eta 0:00:00
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.2->pandas->iqss-gh-reporting==0.5) (1.16.0)
Collecting idna<4,>=2.5
  Downloading idna-3.6-py3-none-any.whl (61 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 61.6/61.6 KB 3.9 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 142.1/142.1 KB 3.6 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
  Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 162.5/162.5 KB 5.5 MB/s eta 0:00:00
Collecting wrapt<2,>=1.10
  Downloading wrapt-1.16.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (80 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 80.3/80.3 KB 3.3 MB/s eta 0:00:00
Collecting pycparser
  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
     ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā” 118.7/118.7 KB 4.6 MB/s eta 0:00:00
Building wheels for collected packages: iqss-gh-reporting, graphql-py
  Building wheel for iqss-gh-reporting (setup.py) ... done
  Created wheel for iqss-gh-reporting: filename=iqss_gh_reporting-0.5-py3-none-any.whl size=27446 sha256=629a41f39bb1c38f62a460e230f99379648d50c46d0e92679d222c37f2a2920f
  Stored in directory: /tmp/pip-ephem-wheel-cache-x75g1kig/wheels/ea/99/2a/8e84d09808d2e08b66f55c3cf7168459110e9f5b1548d95c9f
  Building wheel for graphql-py (setup.py) ... done
  Created wheel for graphql-py: filename=graphql_py-0.8.1-py3-none-any.whl size=14352 sha256=859d2fe836a4b5f180ec61b036afbe32e79175aff62b8e1466fa3404dc955ee5
  Stored in directory: /home/perftest/.cache/pip/wheels/66/1c/db/f69a976172f7feb1727d41526a3d654156f86d3bf0fe10ffcf
Successfully built iqss-gh-reporting graphql-py
Installing collected packages: pytz, ply, wrapt, urllib3, tzdata, typing-extensions, python-dateutil, pyjwt, pycparser, pathvalidate, numpy, multidict, idna, graphql-py, graphql-core, frozenlist, charset-normalizer, certifi, backoff, attrs, async-timeout, yarl, requests, pandas, Deprecated, cffi, aiosignal, pynacl, gql, aiohttp, PyGithub, iqss-gh-reporting
  WARNING: The script f2py is installed in '/home/perftest/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script normalizer is installed in '/home/perftest/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script gql-cli is installed in '/home/perftest/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Deprecated-1.2.14 PyGithub-2.1.1 aiohttp-3.9.1 aiosignal-1.3.1 async-timeout-4.0.3 attrs-23.1.0 backoff-2.2.1 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 frozenlist-1.4.0 gql-3.4.1 graphql-core-3.2.3 graphql-py-0.8.1 idna-3.6 iqss-gh-reporting-0.5 multidict-6.0.4 numpy-1.26.2 pandas-2.1.4 pathvalidate-3.2.0 ply-3.11 pycparser-2.21 pyjwt-2.8.0 pynacl-1.5.0 python-dateutil-2.8.2 pytz-2023.3.post1 requests-2.31.0 typing-extensions-4.8.0 tzdata-2023.3 urllib3-2.1.0 wrapt-1.16.0 yarl-1.9.4
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
_
__
current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
Build and install complete.
The build will put these files and their associated libraries in your path.
create_iq_snapshot_init
create_iq_snapshot
__
Next Steps:
() Check that the build actually completed succesfully by reviewing the output.
() Test out the create_iq_snapshot_init build correctly using

create_iq_snapshot_init --help

() Follow the rest of the instructions in the readme
__
++ press <enter> to continue ++
__
-
^C
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)

---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

running bdist_wheel
running build
running build_py
running build_scripts
copying and adjusting workflows/create_iq_snapshot_init -> build/scripts-3.10
copying and adjusting workflows/create_iq_snapshot -> build/scripts-3.10
copying and adjusting workflows/process_labels -> build/scripts-3.10
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/utils.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/transformer.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/pdata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/fetch_from_repository.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/sprint_metadata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/__init__.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/process_labels_util.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/legacy.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/graphql_query_lib.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
running install_egg_info
running egg_info
writing iqss_gh_reporting.egg-info/PKG-INFO
writing dependency_links to iqss_gh_reporting.egg-info/dependency_links.txt
writing requirements to iqss_gh_reporting.egg-info/requires.txt
writing top-level names to iqss_gh_reporting.egg-info/top_level.txt
reading manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
Copying iqss_gh_reporting.egg-info to build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/process_labels -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot_init -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/process_labels to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init to 775
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.dist-info/WHEEL
creating 'dist/iqss_gh_reporting-0.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'iqss_gh_reporting/__init__.py'
adding 'iqss_gh_reporting/fetch_from_repository.py'
adding 'iqss_gh_reporting/graphql_query_lib.py'
adding 'iqss_gh_reporting/legacy.py'
adding 'iqss_gh_reporting/pdata.py'
adding 'iqss_gh_reporting/process_labels_util.py'
adding 'iqss_gh_reporting/sprint_metadata.py'
adding 'iqss_gh_reporting/transformer.py'
adding 'iqss_gh_reporting/utils.py'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init'
adding 'iqss_gh_reporting-0.5.data/scripts/process_labels'
adding 'iqss_gh_reporting-0.5.dist-info/LICENSE.txt'
adding 'iqss_gh_reporting-0.5.dist-info/METADATA'
adding 'iqss_gh_reporting-0.5.dist-info/WHEEL'
adding 'iqss_gh_reporting-0.5.dist-info/top_level.txt'
adding 'iqss_gh_reporting-0.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel

Installing....

Defaulting to user installation because normal site-packages is not writeable
Processing /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting
  Preparing metadata (setup.py) ... done
Requirement already satisfied: PyGithub in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (2.1.1)
Requirement already satisfied: aiohttp in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.9.1)
Requirement already satisfied: gql in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.4.1)
Requirement already satisfied: graphql-py in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (0.8.1)
Requirement already satisfied: numpy in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (1.26.2)
Requirement already satisfied: pandas in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (2.1.4)
Requirement already satisfied: pathvalidate in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.2.0)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from iqss-gh-reporting==0.5) (5.4.1)
Requirement already satisfied: aiosignal>=1.1.2 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.3.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.9.4)
Requirement already satisfied: frozenlist>=1.1.1 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.4.0)
Requirement already satisfied: attrs>=17.3.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (23.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (4.0.3)
Requirement already satisfied: backoff<3.0,>=1.11.1 in /home/perftest/.local/lib/python3.10/site-packages (from gql->iqss-gh-reporting==0.5) (2.2.1)
Requirement already satisfied: graphql-core<3.3,>=3.2 in /home/perftest/.local/lib/python3.10/site-packages (from gql->iqss-gh-reporting==0.5) (3.2.3)
Requirement already satisfied: ply>=3.6 in /home/perftest/.local/lib/python3.10/site-packages (from graphql-py->iqss-gh-reporting==0.5) (3.11)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2023.3)
Requirement already satisfied: pyjwt[crypto]>=2.4.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.8.0)
Requirement already satisfied: pynacl>=1.4.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (1.5.0)
Requirement already satisfied: urllib3>=1.26.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.1.0)
Requirement already satisfied: typing-extensions>=4.0.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (4.8.0)
Requirement already satisfied: requests>=2.14.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.31.0)
Requirement already satisfied: Deprecated in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (1.2.14)
Requirement already satisfied: cryptography>=3.4.0 in /usr/lib/python3/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub->iqss-gh-reporting==0.5) (3.4.8)
Requirement already satisfied: cffi>=1.4.1 in /home/perftest/.local/lib/python3.10/site-packages (from pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.2->pandas->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (2023.11.17)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (3.6)
Requirement already satisfied: wrapt<2,>=1.10 in /home/perftest/.local/lib/python3.10/site-packages (from Deprecated->PyGithub->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: pycparser in /home/perftest/.local/lib/python3.10/site-packages (from cffi>=1.4.1->pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (2.21)
Building wheels for collected packages: iqss-gh-reporting
  Building wheel for iqss-gh-reporting (setup.py) ... done
  Created wheel for iqss-gh-reporting: filename=iqss_gh_reporting-0.5-py3-none-any.whl size=27446 sha256=c2665e47c419301445d4f4dc7aca0b944e982ab572516df4ad93f1ca12e4fcf7
  Stored in directory: /tmp/pip-ephem-wheel-cache-vftd1n9q/wheels/ea/99/2a/8e84d09808d2e08b66f55c3cf7168459110e9f5b1548d95c9f
Successfully built iqss-gh-reporting
Installing collected packages: iqss-gh-reporting
  Attempting uninstall: iqss-gh-reporting
    Found existing installation: iqss-gh-reporting 0.5
    Uninstalling iqss-gh-reporting-0.5:
      Successfully uninstalled iqss-gh-reporting-0.5
Successfully installed iqss-gh-reporting-0.5
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
_
__
current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
Build and install complete.
The build will put these files and their associated libraries in your path.
create_iq_snapshot_init
create_iq_snapshot
__
Next Steps:
() Check that the build actually completed succesfully by reviewing the output.
() Test out the create_iq_snapshot_init build correctly using

create_iq_snapshot_init --help

() Follow the rest of the instructions in the readme
__
++ press <enter> to continue ++
__
-
mikeaintworkin commented 11 months ago

OK - there's still things I'm missing here. Since I used the pip command I'm running a combination of a ./local environment and the global environment.


perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ PATH=$PATH:~/.local.bin
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ create_iq_snapshot_init --help
create_iq_snapshot_init: command not found
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ create_iq_snapshot_init --help^C
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/perftest/.local.bin
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ export PATH
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ create_iq_snapshot_init --help
create_iq_snapshot_init: command not found
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ find ~/ -name create_iq_snapshot_init
/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/build/scripts-3.10/create_iq_snapshot_init
/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/workflows/create_iq_snapshot_init
/home/perftest/.local/bin/create_iq_snapshot_init
/home/perftest/devCode/iqss_gh_reporting/workflows/create_iq_snapshot_init
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ export PATH=$PATH:~/.local/bin
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ create_iq_snapshot_init --help
Yaml file path: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/input_file.yaml
No yaml file found. Setting defaults
YAML data is valid!
usage: create_iq_snapshot_init [-h] [--output_base_dir OUTPUT_BASE_DIR] [--sprint_name SPRINT_NAME] [--collection_flag COLLECTION_FLAG] [--organization_name ORGANIZATION_NAME] [--project_name PROJECT_NAME]
                               [--src_file_name SRC_FILE_NAME] [--src_dir_name SRC_DIR_NAME] [--src_type SRC_TYPE] [--workflow_name WORKFLOW_NAME] [--output_file_base_name OUTPUT_FILE_BASE_NAME]
                               [--data_collected_time DATA_COLLECTED_TIME]

run this at the beginning of the sprint to set the defaults for the sprint

options:
  -h, --help            show this help message and exit
  --output_base_dir OUTPUT_BASE_DIR
                        str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:'_'. No trailing /. api=ignored. file=Optional
  --sprint_name SPRINT_NAME
                        str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:'_'; api=required.file=required.
  --collection_flag COLLECTION_FLAG
                        str: valid values: start | snapshot | end. api=required. file=Ignored.
  --organization_name ORGANIZATION_NAME
                        str: e.g: IQSS. Always required.
  --project_name PROJECT_NAME
                        str: e.g: IQSS/dataverse. Always required.
  --src_file_name SRC_FILE_NAME
                        str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv .api=ignored. file=required.
  --src_dir_name SRC_DIR_NAME
                        str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:'_' no trailing /. api=ignored. file=required.
  --src_type SRC_TYPE   str: valid values: api | file. Always required.
  --workflow_name WORKFLOW_NAME
                        very short description or code.no[ ,.-special_char] ok:'_' Optional.
  --output_file_base_name OUTPUT_FILE_BASE_NAME
                        str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig .api=ignored. file=not required.
  --data_collected_time DATA_COLLECTED_TIME
                        str: When working with file input,use this.-special_char] ok:'_' no trailing /. api=ignored. file=required.
perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$
mikeaintworkin commented 11 months ago

I reproduced it on WSL

perftest@IQSS-FWXJRV3:~/Harvard University/Reekie, Mike - iq_reporting_collab$ bash "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh" -s "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts" -w "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
processing command line
processing command line option: s
Processing option 's' with '/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts' argument
Setting SCRIPT_DIR: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
processing command line option: w
Processing option 'w' with '/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab' argument
Setting WRK_DIR_RT: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
>> /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh
'/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/build_and_deploy_local.sh'
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
---
--
Next step: build_and_deploy_local.sh
--
++ press <enter> to continue ++
--
-

pushd to /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts ~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
Current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
The script is going to to build the sources and then deploy it with pip
__
This script MUST be run from the ./scripts directory in the project tree.
e.g /home/barry/PycharmProjects/iqss_gh_reporting/scripts
where /home/barry/PycharmProjects/iqss_gh_reporting is the root of the project
__
++ press <enter> to continue ++
-

~/OneDrive - Harvard University/github/iqss_gh_reporting ~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts

Building the code here:
../

Building....

running bdist_wheel
running build
running build_py
running build_scripts
copying and adjusting workflows/create_iq_snapshot_init -> build/scripts-3.10
copying and adjusting workflows/create_iq_snapshot -> build/scripts-3.10
copying and adjusting workflows/process_labels -> build/scripts-3.10
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/utils.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/transformer.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/pdata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/fetch_from_repository.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/sprint_metadata.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/__init__.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/process_labels_util.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/legacy.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
copying build/lib/iqss_gh_reporting/graphql_query_lib.py -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting
running install_egg_info
running egg_info
writing iqss_gh_reporting.egg-info/PKG-INFO
writing dependency_links to iqss_gh_reporting.egg-info/dependency_links.txt
writing requirements to iqss_gh_reporting.egg-info/requires.txt
writing top-level names to iqss_gh_reporting.egg-info/top_level.txt
reading manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'iqss_gh_reporting.egg-info/SOURCES.txt'
Copying iqss_gh_reporting.egg-info to build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/process_labels -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
copying build/scripts-3.10/create_iq_snapshot_init -> build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/process_labels to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot to 775
changing mode of build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init to 775
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/iqss_gh_reporting-0.5.dist-info/WHEEL
creating 'dist/iqss_gh_reporting-0.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'iqss_gh_reporting/__init__.py'
adding 'iqss_gh_reporting/fetch_from_repository.py'
adding 'iqss_gh_reporting/graphql_query_lib.py'
adding 'iqss_gh_reporting/legacy.py'
adding 'iqss_gh_reporting/pdata.py'
adding 'iqss_gh_reporting/process_labels_util.py'
adding 'iqss_gh_reporting/sprint_metadata.py'
adding 'iqss_gh_reporting/transformer.py'
adding 'iqss_gh_reporting/utils.py'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot'
adding 'iqss_gh_reporting-0.5.data/scripts/create_iq_snapshot_init'
adding 'iqss_gh_reporting-0.5.data/scripts/process_labels'
adding 'iqss_gh_reporting-0.5.dist-info/LICENSE.txt'
adding 'iqss_gh_reporting-0.5.dist-info/METADATA'
adding 'iqss_gh_reporting-0.5.dist-info/WHEEL'
adding 'iqss_gh_reporting-0.5.dist-info/top_level.txt'
adding 'iqss_gh_reporting-0.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel

Installing....

Defaulting to user installation because normal site-packages is not writeable
Processing /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting
  Preparing metadata (setup.py) ... done
Requirement already satisfied: PyGithub in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (2.1.1)
Requirement already satisfied: aiohttp in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.9.1)
Requirement already satisfied: gql in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.4.1)
Requirement already satisfied: graphql-py in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (0.8.1)
Requirement already satisfied: numpy in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (1.26.2)
Requirement already satisfied: pandas in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (2.1.4)
Requirement already satisfied: pathvalidate in /home/perftest/.local/lib/python3.10/site-packages (from iqss-gh-reporting==0.5) (3.2.0)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (from iqss-gh-reporting==0.5) (5.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (6.0.4)
Requirement already satisfied: frozenlist>=1.1.1 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.4.0)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (4.0.3)
Requirement already satisfied: aiosignal>=1.1.2 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (23.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/perftest/.local/lib/python3.10/site-packages (from aiohttp->iqss-gh-reporting==0.5) (1.9.4)
Requirement already satisfied: backoff<3.0,>=1.11.1 in /home/perftest/.local/lib/python3.10/site-packages (from gql->iqss-gh-reporting==0.5) (2.2.1)
Requirement already satisfied: graphql-core<3.3,>=3.2 in /home/perftest/.local/lib/python3.10/site-packages (from gql->iqss-gh-reporting==0.5) (3.2.3)
Requirement already satisfied: ply>=3.6 in /home/perftest/.local/lib/python3.10/site-packages (from graphql-py->iqss-gh-reporting==0.5) (3.11)
Requirement already satisfied: tzdata>=2022.1 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2023.3)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in /home/perftest/.local/lib/python3.10/site-packages (from pandas->iqss-gh-reporting==0.5) (2023.3.post1)
Requirement already satisfied: pynacl>=1.4.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (1.5.0)
Requirement already satisfied: Deprecated in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (1.2.14)
Requirement already satisfied: requests>=2.14.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.31.0)
Requirement already satisfied: pyjwt[crypto]>=2.4.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.8.0)
Requirement already satisfied: typing-extensions>=4.0.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (4.8.0)
Requirement already satisfied: urllib3>=1.26.0 in /home/perftest/.local/lib/python3.10/site-packages (from PyGithub->iqss-gh-reporting==0.5) (2.1.0)
Requirement already satisfied: cryptography>=3.4.0 in /usr/lib/python3/dist-packages (from pyjwt[crypto]>=2.4.0->PyGithub->iqss-gh-reporting==0.5) (3.4.8)
Requirement already satisfied: cffi>=1.4.1 in /home/perftest/.local/lib/python3.10/site-packages (from pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.2->pandas->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (3.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/perftest/.local/lib/python3.10/site-packages (from requests>=2.14.0->PyGithub->iqss-gh-reporting==0.5) (2023.11.17)
Requirement already satisfied: wrapt<2,>=1.10 in /home/perftest/.local/lib/python3.10/site-packages (from Deprecated->PyGithub->iqss-gh-reporting==0.5) (1.16.0)
Requirement already satisfied: pycparser in /home/perftest/.local/lib/python3.10/site-packages (from cffi>=1.4.1->pynacl>=1.4.0->PyGithub->iqss-gh-reporting==0.5) (2.21)
Building wheels for collected packages: iqss-gh-reporting
  Building wheel for iqss-gh-reporting (setup.py) ... done
  Created wheel for iqss-gh-reporting: filename=iqss_gh_reporting-0.5-py3-none-any.whl size=27446 sha256=beb894f20e8c1d5c3b9779c83d7ef8441ad21d7914fb4057cdfffc1ba7fcc6a0
  Stored in directory: /tmp/pip-ephem-wheel-cache-ize950fw/wheels/ea/99/2a/8e84d09808d2e08b66f55c3cf7168459110e9f5b1548d95c9f
Successfully built iqss-gh-reporting
Installing collected packages: iqss-gh-reporting
  Attempting uninstall: iqss-gh-reporting
    Found existing installation: iqss-gh-reporting 0.5
    Uninstalling iqss-gh-reporting-0.5:
      Successfully uninstalled iqss-gh-reporting-0.5
Successfully installed iqss-gh-reporting-0.5
~/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
_
__
current file: ./build_and_deploy_local.sh
pwd: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts
venv: <></>
__
Build and install complete.
The build will put these files and their associated libraries in your path.
create_iq_snapshot_init
create_iq_snapshot
__
Next Steps:
() Check that the build actually completed succesfully by reviewing the output.
() Test out the create_iq_snapshot_init build correctly using

create_iq_snapshot_init --help

() Follow the rest of the instructions in the readme
__
++ press <enter> to continue ++
__
-
popd
~/Harvard University/Reekie, Mike - iq_reporting_collab
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
---
--
Next step: setting directories and timestamp for this run
--
++ press <enter> to continue ++
--
-
-
--
Time Stamp: "20231208_211126"
--
---
Directories:
SCRIPT_DIR: "/home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts"
WRK_DIR_RT: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab"
INDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/in"
WRKDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/wrk"
OUTDIR: "/home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out"
---
--
-
-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
---
--
Next step: create_iq_snapshot_init
--
++ press <enter> to continue ++
--
-

Yaml file path: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/input_file.yaml
No yaml file found. Setting defaults
YAML data is valid!
------------------------------
Defaults currently mapped to Command Line input:
Any changes you just made will be written back to the yaml file
you can run this file repeatedly to update the defaults

collection_flag:
        h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
        v: snapshot
data_collected_time:
        h: 'str: When working with file input,use this.-special_char] ok:''_'' no
                trailing /. api=ignored. file=required.'
        v: ''
organization_name:
        h: 'str: e.g: IQSS. Always required.'
        v: IQSS
output_base_dir:
        h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''.
                No trailing /. api=ignored. file=Optional'
        v: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/
output_file_base_name:
        h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
                file=not required.'
        v: ''
project_name:
        h: 'str: e.g: IQSS/dataverse. Always required.'
        v: IQSS/dataverse
sprint_name:
        h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
        v: snaps_collection
src_dir_name:
        h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no
                trailing /. api=ignored. file=required.'
        v: ''
src_file_name:
        h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
                .api=ignored. file=required.'
        v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
        h: 'str: valid values: api | file. Always required.'
        v: api
workflow_name:
        h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
        v: '000'

-
--
executing file: /home/perftest/OneDrive - Harvard University/github/iqss_gh_reporting/scripts/scaffolding/framework_05.sh
pwd:  /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab
venv: <></>
--
---
find . -type f (first 5 entries)
./input_file.yaml
---
--
Next step: create_iq_snapshot
--
++ press <enter> to continue ++
--
-

Running /home/perftest/.local/bin/create_iq_snapshot as the main program
YAML data is valid!
input arguments:

collection_flag:
  h: 'str: valid values: start | snapshot | end. api=required. file=Ignored.'
  v: snapshot
data_collected_time:
  h: 'str: When working with file input,use this.-special_char] ok:''_'' no trailing
    /. api=ignored. file=required.'
  v: ''
organization_name:
  h: 'str: e.g: IQSS. Always required.'
  v: IQSS
output_base_dir:
  h: 'str: /mnt/hgfs/iq_reporting_collab/run/out;no[ ,.-special_char] ok:''_''. No
    trailing /. api=ignored. file=Optional'
  v: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/
output_file_base_name:
  h: 'str: e.g. sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig  .api=ignored.
    file=not required.'
  v: ''
project_name:
  h: 'str: e.g: IQSS/dataverse. Always required.'
  v: IQSS/dataverse
sprint_name:
  h: 'str: e.g. sprint_2023_04_26;no[ ,.-special_char] ok:''_''; api=required.file=required.'
  v: snaps_collection
src_dir_name:
  h: 'str: e.g: ~/iqss_gh_reporting/run/in no[ ,.-special_char] ok:''_'' no trailing
    /. api=ignored. file=required.'
  v: ''
src_file_name:
  h: 'str: e.g: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv .api=ignored.
    file=required.'
  v: sprint_2023_05_03-snapshot-2023_05_22_11_00-api-000-orig.tsv
src_type:
  h: 'str: valid values: api | file. Always required.'
  v: api
workflow_name:
  h: very short description or code.no[ ,.-special_char] ok:'_' Optional.
  v: '000'

output_file_base_name 4api: snaps_collection-snapshot-000-api-2023_12_08_211131
directory exists or was created now: /home/perftest/Harvard University/Reekie, Mike - iq_reporting_collab/out/snaps_collection

projects: looking to match IQSS/dataverse with IQSS/dataverse
Pandas version:2.1.4
start: 0 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
/home/perftest/.local/lib/python3.10/site-packages/iqss_gh_reporting/legacy.py:155: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
  self._project_cards = pd.concat([self._project_cards, pd.DataFrame([new_row])], ignore_index=True)
  end: 6 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
start: 6 cards processed: IQSS/dataverse, Column This Sprint šŸƒā€ā™€ļø šŸƒ
  end: 19 cards processed: IQSS/dataverse, Column This Sprint šŸƒā€ā™€ļø šŸƒ
start: 19 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
  end: 24 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
start: 24 cards processed: IQSS/dataverse, Column Ready for Review ā©
  end: 38 cards processed: IQSS/dataverse, Column Ready for Review ā©
start: 38 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
  end: 43 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
start: 43 cards processed: IQSS/dataverse, Column Ready for QA ā©
  end: 44 cards processed: IQSS/dataverse, Column Ready for QA ā©
start: 44 cards processed: IQSS/dataverse, Column QA āœ…
  end: 46 cards processed: IQSS/dataverse, Column QA āœ…
start: 46 cards processed: IQSS/dataverse, Column Done šŸš€
Traceback (most recent call last):
  File "/home/perftest/.local/bin/create_iq_snapshot", line 167, in <module>
    main()
  File "/home/perftest/.local/bin/create_iq_snapshot", line 72, in main
    sprint_data.df = pdio.LegacyProjectCards(
  File "/home/perftest/.local/lib/python3.10/site-packages/iqss_gh_reporting/legacy.py", line 74, in __init__
    self._fetch_data()
  File "/home/perftest/.local/lib/python3.10/site-packages/iqss_gh_reporting/legacy.py", line 88, in _fetch_data
    if not self._get_project_cards_api_obj():
  File "/home/perftest/.local/lib/python3.10/site-packages/iqss_gh_reporting/legacy.py", line 155, in _get_project_cards_api_obj
    self._project_cards = pd.concat([self._project_cards, pd.DataFrame([new_row])], ignore_index=True)
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/reshape/concat.py", line 393, in concat
    return op.get_result()
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/reshape/concat.py", line 680, in get_result
    new_data = concatenate_managers(
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/internals/concat.py", line 189, in concatenate_managers
    values = _concatenate_join_units(join_units, copy=copy)
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/internals/concat.py", line 466, in _concatenate_join_units
    to_concat = [
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/internals/concat.py", line 467, in <listcomp>
    ju.get_reindexed_values(empty_dtype=empty_dtype, upcasted_na=upcasted_na)
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/internals/concat.py", line 452, in get_reindexed_values
    return make_na_array(empty_dtype, self.block.shape, fill_value)
  File "/home/perftest/.local/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 2294, in make_na_array
    i8values = np.full(shape, fill_value._value)
AttributeError: 'NoneType' object has no attribute '_value'
mikeaintworkin commented 11 months ago

As a sanity check, it runs fine on the linux installation where I am developing. It still runs fine


start: 0 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
end: 6 cards processed: IQSS/dataverse, Column ā–¶ SPRINT READY
start: 6 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
end: 19 cards processed: IQSS/dataverse, Column This Sprint šŸƒā™€ļø šŸƒ
start: 19 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
end: 24 cards processed: IQSS/dataverse, Column IQSS Team - In Progress  šŸ’»
start: 24 cards processed: IQSS/dataverse, Column Ready for Review ā©
end: 38 cards processed: IQSS/dataverse, Column Ready for Review ā©
start: 38 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
end: 43 cards processed: IQSS/dataverse, Column In Review šŸ”Ž
start: 43 cards processed: IQSS/dataverse, Column Ready for QA ā©
end: 44 cards processed: IQSS/dataverse, Column Ready for QA ā©
start: 44 cards processed: IQSS/dataverse, Column QA āœ…
end: 46 cards processed: IQSS/dataverse, Column QA āœ…
start: 46 cards processed: IQSS/dataverse, Column Done šŸš€
>>>>>> 50 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9669,dataverse ,IQSS/9506 thumbnail failure tracking and other performance improvements
>>>>>> 100 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,10041,dataverse ,Rewrite DatasetVersionFilesServiceBean QueryDSL queries using JPA Criteria and remove the QueryDSL library from the application dependencies
>>>>>> 150 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,91,dataverse-client-javascript ,Update GetDatasetFiles and GetDatasetFileCounts use cases with the latest API changes
>>>>>> 200 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9892,dataverse ,A quick xhtml-only fix for the "template with custom terms of use" bug
>>>>>> 250 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9737,dataverse ,add "query" tool type, "Ask the Data"
>>>>>> 300 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9680,dataverse ,nullpointer fix
>>>>>> 350 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9543,dataverse ,Remove duplicate entry api/info/metrics/filedownloads/monthly
>>>>>> 400 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9527,dataverse ,add curl example for configuring WebloaderUrl
>>>>>> 450 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,15,dataverse-frontend ,2 - Issue and PR templates
>>>>>> 500 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,9304,dataverse ,8724 update datasets of linked dataverse
>>>>>> 550 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,199,dataverse.harvard.edu ,Disable colleciton creation in production.
>>>>>> 600 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8891,dataverse ,GDCC/Globus and Big Data Support
>>>>>> 650 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8545,dataverse ,Update 5.10-release-notes.md database query regarding multiple license change
>>>>>> 700 # cards IQSS/dataverse: Done šŸš€                         ,Issue ,157,dataverse.harvard.edu ,ADD GeoJSON previewer To Demo and Harvard Dataverse, related to #136
>>>>>> 750 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8562,dataverse ,8400 publish bug
>>>>>> 800 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8423,dataverse ,add CC BY, improve license config docs #8347
>>>>>> 850 # cards IQSS/dataverse: Done šŸš€                         ,PullRequest ,8279,dataverse ,only run regex replaces on DBs with UTF8 encoding #8278
end: 876 cards processed: IQSS/dataverse, Column Done šŸš€
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title'],
dtype='object')
All desired entries are present.
Saving result to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_08_212149-sized.tsv
required list entries: ['Project', 'Column', 'Type', 'Number', 'Labels', 'Repo', 'State']
submitted list entries: Index(['Project', 'Column', 'Card', 'CardURL', 'Type', 'Number', 'Labels',
'Repo', 'State', 'CreatedAt', 'UpdatedAt', 'ClosedAt', 'ClosedBy',
'Title', 'Size'],
dtype='object')
All desired entries are present.
Saving results to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_08_212149-matrix.tsv
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_08_212149-matrix.tsv
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Values: ['This Sprint šŸƒ\u200dā™€ļø šŸƒ', 'IQSS Team - In Progress  šŸ’»', 'Ready for Review ā©', 'In Review šŸ”Ž']
Saving results to file.
/home/barry/Documents/github_reporting/framework_05/out/snaps_collection/snaps_collection-snapshot-000-api-2023_12_08_212149-snapshot_summary.tsv
mikeaintworkin commented 11 months ago

Lots of debugging. Ended up here.

Started with this warning: start: 0 cards processed: IQSS/dataverse, Column :arrow_forward: SPRINT READY /home/perftest/.local/lib/python3.10/site-packages/iqss_gh_reporting/legacy.py:155: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation. self.project_cards = pd.concat([self.project_cards, pd.DataFrame([new_row])], ignore_index=True) Went back and added tighter checks to the new_row dictionary. e.g. RequiredDfColumnHeaderNames.value("ClosedBy"): '' if card_content.closed_by is None else str(card_content.closed_by)