-
Notifications
You must be signed in to change notification settings - Fork 3
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: add datetime to rules context #484
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
dependencies
Project dependencies.
jobs
Scenarios and jobs
quality
Tests, project resiliency, etc.
labels
Apr 18, 2024
Guts
force-pushed
the
feature/rules-add-datetime-to-context
branch
from
April 18, 2024 15:43
3e6a358
to
e5acb78
Compare
Guts
removed
documentation
Improvements or additions to documentation
dependencies
Project dependencies.
jobs
Scenarios and jobs
quality
Tests, project resiliency, etc.
labels
Apr 18, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #484 +/- ##
==========================================
- Coverage 70.81% 68.10% -2.71%
==========================================
Files 47 47
Lines 2906 2910 +4
Branches 631 631
==========================================
- Hits 2058 1982 -76
- Misses 668 747 +79
- Partials 180 181 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Guts
force-pushed
the
feature/rules-add-datetime-to-context
branch
from
April 19, 2024 08:36
f98b01c
to
2070094
Compare
florentfgrs
reviewed
Apr 19, 2024
florentfgrs
approved these changes
Apr 19, 2024
github-actions
bot
added
the
documentation
Improvements or additions to documentation
label
Apr 19, 2024
Quality Gate passedIssues Measures |
Guts
added a commit
that referenced
this pull request
Apr 19, 2024
In this PR we generate the rules context dynamically for the documentation using a Sphinx hook. Then it's embedded like this: ![image](https://github.com/Guts/qgis-deployment-cli/assets/1596222/288776be-7a9a-448c-8e86-3871d9189c9f) To merge after #484.
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
jobs
Scenarios and jobs
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds date information to rules context allowing to condition a profile deployment based on current year, month or day.
In the following example, the profile is installed only if QDT runs on a Linux operating system and if the current year >= 2023:
Depends on #481