-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/pypi stats #5
base: main
Are you sure you want to change the base?
Conversation
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
pip install -r requirements.txt | ||
- name: execute py script | ||
env: | ||
github_token: '${{ secrets.github_token }}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to create and add the correct token
|
||
### Project setup | ||
It is assumed you can clone and change directories into the development repo. | ||
Create a virtualenv or conda environment (whatever your poison) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a virtualenv or conda environment (whatever your poison) | |
Create a virtualenv or conda environment (whatever your poison). |
It is assumed you can clone and change directories into the development repo. | ||
Create a virtualenv or conda environment (whatever your poison) | ||
|
||
Once in the repos directory, activate your env then run the following command to install th needed python libraries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once in the repos directory, activate your env then run the following command to install th needed python libraries. | |
Once in the repos directory, activate your env then run the following command to install the needed python libraries. |
|
||
1: Do not push local development changes from `tmp` folder and `reports` folder. In fact do not edit them at all !!! | ||
|
||
2: When testing with `act` do not use a token that has the permission to make push requests else your test data wil mess with "production" data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2: When testing with `act` do not use a token that has the permission to make push requests else your test data wil mess with "production" data | |
2: When testing with `act` do not use a token that has the permission to make push requests else your test data will mess with "production" data. |
|
||
2: When testing with `act` do not use a token that has the permission to make push requests else your test data wil mess with "production" data | ||
|
||
3: When testing with `act` know that the push may fail due to the fact that you can't directly push to main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3: When testing with `act` know that the push may fail due to the fact that you can't directly push to main | |
3: When testing with `act` know that the push may fail due to the fact that you can't directly push to main. |
|
||
3: When testing with `act` know that the push may fail due to the fact that you can't directly push to main | ||
|
||
4: Always,I repeat always devlop on another branch not main and never push directly to main. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4: Always,I repeat always devlop on another branch not main and never push directly to main. | |
4: Always, I repeat always devlop on another branch not main and never push directly to main. |
source = sanitize_filename_component(source) | ||
action = sanitize_filename_component(action) | ||
seperator = "__" | ||
return f"{folder}/{project}{seperator}{package}{seperator}{source}{seperator}{action}{seperator}{date_part}.{extension}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about separator.join(...)? Might be tiny bit easier to read?
Describe your changes
Implemented the base code needed to fetch repo stats from GitHub and Pypi
Issue ticket number and link
Checklist before requesting a review