Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New Build] New job added to sync newly released gh-pages src files f…
…rom website repo. (#27) * added .idea and .vscode folder * added animated progress function Prints animated progress bar as per the completed steps * tests to check animated progress bar function added Smoke test with comparison of output tests added in conjuncture * File handler created * tests for files handler class and its method added passing all runs * __init__.py files * updated file path Now starts from the current directory * Create utils.py * updated .idea and .vscode as folders * src package initalised * Initialization steps to run on environment changes or updates * app entrypoint * added files to create a container * Docker patch 1 (#4) * docker file updated. - enabled PYTHONUNBUFFERED var to true to get knative logs. - pip installation of packages from requirement.txt without caching. - project dir changed and stored in env var. - entry-point for app.py updated. * stable docker image with app entrypoint V0.2 - Changed copy requirements.txt file dir path. - added new env var to store secretary app files and change `WORKDIR` to run the app.py. - Corrected error from RUN --> CMD to run the app.py * Create codeql-analysis.yml (#5) - Security analysis to run weekly on every Saturday @23:59 UTC * Added CodeCov Integration (#6) * Codecov integration (#7) * Added CodeCov Integration * CHANGED PATH * Quick fix1 (#9) * deleted workflows - Deleted workflow since the directory was wrong. * Updated to not run on pull requests to master branch * removed error causing keyword - Removed run: changed it with upload_coverage: - Added name parameter to cloning repository step. - Upload Coverage to Codecov step added new with parameters. * Azure functions integreation (#10) * funcitons initialised - Azure functions initialized. * Update __init__.py * Revert "Update __init__.py" This reverts commit ae4df7a. * Updated .gitignore added ide config files * Changed logging statement. * Delete .idea directory * Delete .vscode directory * initalised authHandler - Initialized authHandler to encode and decode keys. * Update .coveragerc * Codecov integration Patch (#13) * Added CodeCov Integration * CHANGED PATH * Updated yaml structure line 11 error causing keywords changed and updated * Update .coveragerc * Circleci project setup (#15) * Add .circleci/config.yml * Updated CricleCI config to run unit tests added steps to run all tests in `tests/` folder. * Updated config.yml * Pre build-patch 1a (still functionality is to be added) (#16) * Back merge (#11) * Merging to add docker file for Artifact Registry build (#3) * added .idea and .vscode folder * added animated progress function Prints animated progress bar as per the completed steps * tests to check animated progress bar function added Smoke test with comparison of output tests added in conjuncture * File handler created * tests for files handler class and its method added passing all runs * __init__.py files * updated file path Now starts from the current directory * Create utils.py * updated .idea and .vscode as folders * src package initalised * Initialization steps to run on environment changes or updates * app entrypoint * added files to create a container * Docker patch 1 (#4) * docker file updated. - enabled PYTHONUNBUFFERED var to true to get knative logs. - pip installation of packages from requirement.txt without caching. - project dir changed and stored in env var. - entry-point for app.py updated. * stable docker image with app entrypoint V0.2 - Changed copy requirements.txt file dir path. - added new env var to store secretary app files and change `WORKDIR` to run the app.py. - Corrected error from RUN --> CMD to run the app.py * Create codeql-analysis.yml (#5) - Security analysis to run weekly on every Saturday @23:59 UTC * Added CodeCov Integration (#6) * Codecov integration (#7) * Added CodeCov Integration * CHANGED PATH * Quick fix1 (#9) * deleted workflows - Deleted workflow since the directory was wrong. * Updated to not run on pull requests to master branch * removed error causing keyword - Removed run: changed it with upload_coverage: - Added name parameter to cloning repository step. - Upload Coverage to Codecov step added new with parameters. * Azure functions integreation (#10) * funcitons initialised - Azure functions initialized. * Update __init__.py * Revert "Update __init__.py" This reverts commit ae4df7a. * Updated .gitignore added ide config files * Changed logging statement. * Delete .idea directory * Delete .vscode directory * added .pem files * source files added * Class App initialized * Update requirements.txt - packages for pyjwt and cryptography added. - version for azure-functions specified. * added new auth functions - get_hash_key function added. - jwt token generator added. * removed __inti__.py files from test folder * directory structure changed - multiple files comin in a single commit (I know the consequences) - @Maverick099 * removed importing handlers module file in __init___ - This will make us use handlers as submodule inside bin * ignoring tests/*/res folders * Update .gitignore * updated bin module imports * passing GithubAppApi tests - passing tests since http response returning 401 error. * Update gitignore (#17) * Back merge (#11) * Merging to add docker file for Artifact Registry build (#3) * added .idea and .vscode folder * added animated progress function Prints animated progress bar as per the completed steps * tests to check animated progress bar function added Smoke test with comparison of output tests added in conjuncture * File handler created * tests for files handler class and its method added passing all runs * __init__.py files * updated file path Now starts from the current directory * Create utils.py * updated .idea and .vscode as folders * src package initalised * Initialization steps to run on environment changes or updates * app entrypoint * added files to create a container * Docker patch 1 (#4) * docker file updated. - enabled PYTHONUNBUFFERED var to true to get knative logs. - pip installation of packages from requirement.txt without caching. - project dir changed and stored in env var. - entry-point for app.py updated. * stable docker image with app entrypoint V0.2 - Changed copy requirements.txt file dir path. - added new env var to store secretary app files and change `WORKDIR` to run the app.py. - Corrected error from RUN --> CMD to run the app.py * Create codeql-analysis.yml (#5) - Security analysis to run weekly on every Saturday @23:59 UTC * Added CodeCov Integration (#6) * Codecov integration (#7) * Added CodeCov Integration * CHANGED PATH * Quick fix1 (#9) * deleted workflows - Deleted workflow since the directory was wrong. * Updated to not run on pull requests to master branch * removed error causing keyword - Removed run: changed it with upload_coverage: - Added name parameter to cloning repository step. - Upload Coverage to Codecov step added new with parameters. * Azure functions integreation (#10) * funcitons initialised - Azure functions initialized. * Update __init__.py * Revert "Update __init__.py" This reverts commit ae4df7a. * Updated .gitignore added ide config files * Changed logging statement. * Delete .idea directory * Delete .vscode directory * added .pem files * source files added * Class App initialized * Update requirements.txt - packages for pyjwt and cryptography added. - version for azure-functions specified. * added new auth functions - get_hash_key function added. - jwt token generator added. * removed __inti__.py files from test folder * directory structure changed - multiple files comin in a single commit (I know the consequences) - @Maverick099 * removed importing handlers module file in __init___ - This will make us use handlers as submodule inside bin * ignoring tests/*/res folders * Update .gitignore * updated bin module imports * passing GithubAppApi tests - passing tests since http response returning 401 error. * Update .gitignore * Circle ci patch1 (#18) * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Config.py updated with for coverage generation - coverage job updated with new "Install coverage.py and generate report" run. * Added line to ignore /htmlcov folder * updated import package name * formatting changes * commented unused imports * corrected run statement * updated import for bin * Update setup.py * updated to include source and omit all setup.py files * packages updated - Think this is the problem causing area, since bin.handlers is pointed out to be partially insitalised. * Update .gitignore * Added missing project files manually. (#19) * missing __init__.py added * missing exception_handler.py added * missing github_api_handler.py added * missing response_handler.py added * Circle ci patch (#20) * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Config.py updated with for coverage generation - coverage job updated with new "Install coverage.py and generate report" run. * Added line to ignore /htmlcov folder * updated import package name * formatting changes * commented unused imports * corrected run statement * updated import for bin * Update setup.py * updated to include source and omit all setup.py files * packages updated - Think this is the problem causing area, since bin.handlers is pointed out to be partially insitalised. * config updated - as per issue #12 updated according to comments. * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Updated config.yml * Lib and import changes (#21) * deleted all bin files due to name change * bin_tests -> lib_tests * updated with new package name * updated with new package name in imports * changed package name to lib * changed files moved to new folder * bin files moved to lib * updated pre-written .gitignore to not ignore lib/ * response_handler import changed * authHanler imported directly instead of a package import. * pep changes * removed inverted commas from xml file name parameter * added lines to report and generate xml file * Readme (#22) * readme file added * Delete codecov.yml * added Codacy badge * New Api Methods Added (#23) * pipe symbol added to end of table * AccessTokenPermission class added with ENUM helper classes This class is used to generate payload for permission parameter while posting new access token for repos. * Tests added for AccessTokenPermission Class - Passed while running all tests using terminal. * Commendted since raising unwanted errors in CI * GithubAccessToken class tests added * Object to hold Github access token received from API - Additional helper functions also added. * spelling changes in comments * commented unused imports * checks if given requested permissions are empty or not * function create_access_token now returns access token object GithubAccessToken * posting tree. * Added a HTTP patch module which returns a RESPONSE object * Mocks tests added * added release api * tests for release api * unclosed file closed * setup updated for lib.data package * moved data classes and imported the same * Dataclass for GithubAPI added * Update githubDataClass.py * added trigger_workflow api * success tests for trigger_api added with mocks * added Repository data class * new jobs_test package added * test for Repository data class added * Jobs addition: Add new Blog (#24) * imported only required class App * package name changed to bot * package removed * All requests redirected to App * checks the request body for JSON structure and keywords * Azure Functions file for bot * added where parameter to point current folder * imports optimized * removed unused imports * Delete webhook.py * added Message class to imports * Added constants.py to hold constant data * Added Webhook dataclass to hold incoming webhook data * optimised import * updated version * removed webhook azure functions entry point * updated ci for changed package name * coverage ci updated with changed package name * renamed to match semantic standard for test files * added GithubTag dataclass * added GithubTag as import * added get_tag api function test and updates - updated to use class parameters instead of function parameters increasing reusability. * added get_tag api tests and updates * github api tag mock added * added GithubCommit data class * added GithubCommit tests * Github commit mocks added * github commit test added * gitub commit test added * name change * GithubCommit added to imports * Push blog page routed * renamed meta.json * blog pages update job added * config for paths and file named added * env read added * updates * removed not required tests * [Addition] Job to update blog repo gh-pages source code added. (#26) - On new release from [coders-asylum.github.io](https://github.com/Coders-Asylum/coders-asylum.github.io) - If `BlogPage.dart` or `BlogPostPage.dart` has changes then the files from [blog](https://github.com/Coders-Asylum/blog) will also be updated by a commit by the bot. ##Commits * imported only required class App * package name changed to bot * package removed * All requests redirected to App * checks the request body for JSON structure and keywords * Azure Functions file for bot * added where parameter to point current folder * imports optimized * removed unused imports * Delete webhook.py * added Message class to imports * Added constants.py to hold constant data * Added Webhook dataclass to hold incoming webhook data * optimised import * updated version * removed webhook azure functions entry point * updated ci for changed package name * coverage ci updated with changed package name * renamed to match semantic standard for test files * added GithubTag dataclass * added GithubTag as import * added get_tag api function test and updates - updated to use class parameters instead of function parameters increasing reusability. * added get_tag api tests and updates * github api tag mock added * added GithubCommit data class * added GithubCommit tests * Github commit mocks added * github commit test added * gitub commit test added * name change * GithubCommit added to imports * Push blog page routed * renamed meta.json * blog pages update job added * config for paths and file named added * env read added * updates * removed not required tests * added commit_files unit test * updated to dynamic path for __config_file_path var * env variable reading issue resolved replaces environ.get string \\n pattern with \n * removed testing block * bot folder tests initialized * removed unused imports * change permissions to default parameter with default value as None * src package tests added * removed unused import * Update jobs.py * push_new_blog_page tests added with mocks * changed payload type to list to append messages * target path added * path parameter updated for both files
- Loading branch information