Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature: handle local Git repository #255

Merged
merged 6 commits into from Apr 13, 2023
Merged

Conversation

Guts
Copy link
Owner

@Guts Guts commented Apr 13, 2023

With this PR it's possible to use the scenario manager job on local Git repositories:

- name: Synchronize profiles from local git repository
  uses: qprofiles-manager
  with:
    action: download
    branch: main
    protocol: git
    source: file:///home/jmo/Git/Geotribu/profils-qgis
    sync_mode: only_new_version

Closes #189

@github-actions github-actions bot added documentation Improvements or additions to documentation jobs Scenarios and jobs quality Tests, project resiliency, etc. labels Apr 13, 2023
@Guts Guts added the enhancement New feature or request label Apr 13, 2023
@Guts Guts requested a review from florentfgrs April 13, 2023 14:45
@Guts Guts self-assigned this Apr 13, 2023
@github-actions github-actions bot added the ci-cd Continuous integration and deployment. label Apr 13, 2023
@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Merging #255 (745744d) into main (a0b14b8) will decrease coverage by 1.94%.
The diff coverage is 28.57%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   67.93%   66.00%   -1.94%     
==========================================
  Files          34       35       +1     
  Lines        1887     1971      +84     
  Branches      402      416      +14     
==========================================
+ Hits         1282     1301      +19     
- Misses        497      561      +64     
- Partials      108      109       +1     
Impacted Files Coverage Δ
..._deployment_toolbelt/profiles/local_git_handler.py 23.07% <23.07%> (ø)
...loyment_toolbelt/jobs/job_profiles_synchronizer.py 41.73% <37.50%> (-1.90%) ⬇️
qgis_deployment_toolbelt/profiles/__init__.py 100.00% <100.00%> (ø)
...deployment_toolbelt/profiles/remote_git_handler.py 78.87% <100.00%> (ø)

Copy link
Collaborator

@florentfgrs florentfgrs left a comment

Choose a reason for hiding this comment

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

Tested locally with this profiles

@Guts Guts force-pushed the feature/local-git-repository branch from 745744d to 8bcb706 Compare April 13, 2023 15:20
@Guts Guts merged commit 060e184 into main Apr 13, 2023
18 checks passed
@Guts Guts deleted the feature/local-git-repository branch April 13, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd Continuous integration and deployment. documentation Improvements or additions to documentation enhancement New feature or request jobs Scenarios and jobs quality Tests, project resiliency, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: make it work with a local Git repository
3 participants