logly 0.1.2__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. {logly-0.1.2 → logly-0.1.4}/.github/FUNDING.yaml +4 -4
  2. logly-0.1.4/.github/ISSUE_TEMPLATE/bug-report.yml +119 -0
  3. logly-0.1.4/.github/ISSUE_TEMPLATE/config.yml +19 -0
  4. logly-0.1.4/.github/ISSUE_TEMPLATE/documentation.yml +77 -0
  5. logly-0.1.4/.github/ISSUE_TEMPLATE/feature-request.yml +101 -0
  6. logly-0.1.4/.github/ISSUE_TEMPLATE/help.yml +91 -0
  7. logly-0.1.4/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +80 -0
  8. {logly-0.1.2 → logly-0.1.4}/.github/dependabot.yml +26 -26
  9. {logly-0.1.2 → logly-0.1.4}/.github/release_drafter_template.yml +25 -25
  10. {logly-0.1.2 → logly-0.1.4}/.github/workflows/DependencyInsights.yaml +38 -38
  11. {logly-0.1.2 → logly-0.1.4}/.github/workflows/docs.yml +69 -69
  12. logly-0.1.4/.github/workflows/python-package.yaml +32 -0
  13. logly-0.1.4/.github/workflows/python_publish.yaml +105 -0
  14. {logly-0.1.2 → logly-0.1.4}/.github/workflows/release_drafter.yml +16 -16
  15. {logly-0.1.2 → logly-0.1.4}/.github/workflows/testing.yml +98 -82
  16. {logly-0.1.2 → logly-0.1.4}/.gitignore +294 -293
  17. {logly-0.1.2 → logly-0.1.4}/.pre-commit-config.yaml +20 -20
  18. {logly-0.1.2 → logly-0.1.4}/Cargo.lock +1464 -1402
  19. {logly-0.1.2 → logly-0.1.4}/Cargo.toml +19 -1
  20. {logly-0.1.2 → logly-0.1.4}/LICENSE +21 -21
  21. logly-0.1.4/PKG-INFO +364 -0
  22. logly-0.1.4/README.md +336 -0
  23. logly-0.1.4/SECURITY.md +60 -0
  24. {logly-0.1.2 → logly-0.1.4}/docs/api-reference/callbacks.md +484 -489
  25. logly-0.1.4/docs/api-reference/complete-reference.md +460 -0
  26. logly-0.1.4/docs/api-reference/configuration.md +822 -0
  27. {logly-0.1.2 → logly-0.1.4}/docs/api-reference/context.md +342 -430
  28. {logly-0.1.2 → logly-0.1.4}/docs/api-reference/exceptions.md +541 -535
  29. {logly-0.1.2 → logly-0.1.4}/docs/api-reference/index.md +198 -194
  30. {logly-0.1.2 → logly-0.1.4}/docs/api-reference/logging.md +315 -371
  31. logly-0.1.4/docs/api-reference/utilities.md +762 -0
  32. logly-0.1.4/docs/assets/logly-logo.png +0 -0
  33. {logly-0.1.2 → logly-0.1.4}/docs/changelog.md +191 -186
  34. logly-0.1.4/docs/examples/async-logging.md +163 -0
  35. logly-0.1.4/docs/examples/basic-console.md +66 -0
  36. logly-0.1.4/docs/examples/color-callback.md +272 -0
  37. logly-0.1.4/docs/examples/context-binding.md +183 -0
  38. logly-0.1.4/docs/examples/exception-handling.md +214 -0
  39. logly-0.1.4/docs/examples/file-rotation.md +115 -0
  40. logly-0.1.4/docs/examples/index.md +61 -0
  41. logly-0.1.4/docs/examples/json-logging.md +120 -0
  42. logly-0.1.4/docs/examples/multi-sink.md +187 -0
  43. logly-0.1.4/docs/examples/per-level-controls.md +139 -0
  44. logly-0.1.4/docs/examples/template-strings.md +134 -0
  45. logly-0.1.4/docs/guides/configuration.md +435 -0
  46. logly-0.1.4/docs/guides/development.md +317 -0
  47. logly-0.1.4/docs/guides/getting-started.md +240 -0
  48. logly-0.1.4/docs/guides/production-deployment.md +538 -0
  49. logly-0.1.4/docs/index.md +280 -0
  50. {logly-0.1.2 → logly-0.1.4}/docs/installation.md +361 -355
  51. {logly-0.1.2 → logly-0.1.4}/docs/quickstart.md +589 -616
  52. {logly-0.1.2 → logly-0.1.4}/docs/stylesheets/extra.css +248 -170
  53. logly-0.1.4/examples/basic_console.py +50 -0
  54. logly-0.1.4/examples/color_callback.py +276 -0
  55. logly-0.1.4/examples/file_rotation.py +181 -0
  56. logly-0.1.4/examples/format_placeholders.py +70 -0
  57. logly-0.1.4/examples/json_logging.py +208 -0
  58. {logly-0.1.2 → logly-0.1.4}/justfile +55 -55
  59. {logly-0.1.2 → logly-0.1.4}/logly/__init__.py +701 -640
  60. logly-0.1.4/logly/_logly.pyi +345 -0
  61. {logly-0.1.2 → logly-0.1.4}/mkdocs.yml +150 -127
  62. logly-0.1.4/overrides/partials/actions.html +6 -0
  63. {logly-0.1.2 → logly-0.1.4}/pyproject.toml +136 -133
  64. logly-0.1.4/requirements.txt +194 -0
  65. logly-0.1.4/src/backend/async.rs +432 -0
  66. logly-0.1.4/src/backend/file.rs +498 -0
  67. logly-0.1.4/src/backend/logging.rs +823 -0
  68. logly-0.1.4/src/backend/mod.rs +7 -0
  69. logly-0.1.4/src/config/mod.rs +1 -0
  70. {logly-0.1.2/src → logly-0.1.4/src/config}/state.rs +488 -267
  71. logly-0.1.4/src/format/json.rs +133 -0
  72. logly-0.1.4/src/format/mod.rs +4 -0
  73. logly-0.1.4/src/format/template.rs +130 -0
  74. {logly-0.1.2 → logly-0.1.4}/src/lib.rs +20 -15
  75. logly-0.1.4/src/logger.rs +465 -0
  76. logly-0.1.4/src/utils/levels.rs +132 -0
  77. logly-0.1.4/src/utils/mod.rs +1 -0
  78. logly-0.1.4/tests/test_callbacks_and_templates.py +401 -0
  79. logly-0.1.4/tests/test_color_callbacks.py +344 -0
  80. logly-0.1.4/tests/test_logger_features.py +669 -0
  81. {logly-0.1.2 → logly-0.1.4}/tests/test_logly.py +22 -19
  82. {logly-0.1.2 → logly-0.1.4}/tests/test_performance_features.py +471 -371
  83. {logly-0.1.2 → logly-0.1.4}/uv.lock +1416 -1673
  84. logly-0.1.2/.github/workflows/python-package.yaml +0 -30
  85. logly-0.1.2/.github/workflows/python_publish.yaml +0 -40
  86. logly-0.1.2/PKG-INFO +0 -929
  87. logly-0.1.2/README.md +0 -900
  88. logly-0.1.2/bench/benchmark_concurrency.py +0 -144
  89. logly-0.1.2/bench/benchmark_latency.py +0 -143
  90. logly-0.1.2/bench/benchmark_logging.py +0 -219
  91. logly-0.1.2/bench/benchmark_matrix.py +0 -149
  92. logly-0.1.2/docs/api-reference/configuration.md +0 -362
  93. logly-0.1.2/docs/api-reference/utilities.md +0 -578
  94. logly-0.1.2/docs/index.md +0 -337
  95. logly-0.1.2/logly/_logly.pyi +0 -204
  96. logly-0.1.2/requirements.txt +0 -70
  97. logly-0.1.2/src/backend.rs +0 -574
  98. logly-0.1.2/src/levels.rs +0 -27
  99. logly-0.1.2/src/logger.rs +0 -273
  100. logly-0.1.2/tests/test_callbacks_and_templates.py +0 -307
  101. logly-0.1.2/tests/test_logger_features.py +0 -140
  102. {logly-0.1.2 → logly-0.1.4}/CODE_OF_CONDUCT.md +0 -0
  103. {logly-0.1.2 → logly-0.1.4}/CONTRIBUTING.md +0 -0
  104. {logly-0.1.2 → logly-0.1.4}/assets/logly-logo.png +0 -0
  105. {logly-0.1.2 → logly-0.1.4}/logly/py.typed +0 -0
  106. {logly-0.1.2 → logly-0.1.4}/tests/__init__.py +0 -0
@@ -1,4 +1,4 @@
1
- # These are supported funding model platforms
2
- github: [muhammad-fiaz]
3
- ko_fi: muhammadfiaz
4
- custom: [https://pay.muhammadfiaz.com]
1
+ # These are supported funding model platforms
2
+ github: [muhammad-fiaz]
3
+ ko_fi: muhammadfiaz
4
+ custom: [https://pay.muhammadfiaz.com]
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: Bug Report
3
+ description: Report a bug or unexpected behavior
4
+ title: "[BUG] "
5
+ labels: ["bug", "triage"]
6
+ assignees: []
7
+ body:
8
+ - type: textarea
9
+ id: description
10
+ attributes:
11
+ label: Description
12
+ description: A clear and concise description of the bug.
13
+ placeholder: Describe what happened and what you expected to happen.
14
+ validations:
15
+ required: true
16
+
17
+ - type: textarea
18
+ id: reproduction
19
+ attributes:
20
+ label: Steps to Reproduce
21
+ description: Provide detailed steps to reproduce the issue.
22
+ placeholder: |
23
+ 1. Go to '...'
24
+ 2. Click on '....'
25
+ 3. Scroll down to '....'
26
+ 4. See error
27
+ value: |
28
+ 1.
29
+ 2.
30
+ 3.
31
+ 4.
32
+ validations:
33
+ required: true
34
+
35
+ - type: textarea
36
+ id: expected-behavior
37
+ attributes:
38
+ label: Expected Behavior
39
+ description: What did you expect to happen?
40
+ placeholder: A clear description of what you expected to happen.
41
+ validations:
42
+ required: true
43
+
44
+ - type: textarea
45
+ id: actual-behavior
46
+ attributes:
47
+ label: Actual Behavior
48
+ description: What actually happened?
49
+ placeholder: A clear description of what actually happened.
50
+ validations:
51
+ required: true
52
+
53
+ - type: input
54
+ id: version
55
+ attributes:
56
+ label: Logly Version
57
+ description: What version of Logly are you using?
58
+ placeholder: e.g., 0.1.4
59
+ validations:
60
+ required: true
61
+
62
+ - type: input
63
+ id: python-version
64
+ attributes:
65
+ label: Python Version
66
+ description: What Python version are you using?
67
+ placeholder: e.g., Python 3.12.9
68
+ validations:
69
+ required: true
70
+
71
+ - type: input
72
+ id: os
73
+ attributes:
74
+ label: Operating System
75
+ description: What operating system are you using?
76
+ placeholder: e.g., Windows 11, macOS 14.0, Ubuntu 22.04
77
+ validations:
78
+ required: true
79
+
80
+ - type: dropdown
81
+ id: installation-method
82
+ attributes:
83
+ label: Installation Method
84
+ description: How did you install Logly?
85
+ options:
86
+ - pip
87
+ - uv
88
+ - poetry
89
+ - conda
90
+ - From source (cargo build)
91
+ - Other
92
+ validations:
93
+ required: true
94
+
95
+ - type: textarea
96
+ id: additional-context
97
+ attributes:
98
+ label: Additional Context
99
+ description: Add any other context about the problem here.
100
+ placeholder: |
101
+ - Error messages
102
+ - Screenshots
103
+ - Configuration files
104
+ - Sample code that reproduces the issue
105
+ - Performance impact
106
+ - Workarounds you've tried
107
+
108
+ - type: checkboxes
109
+ id: checklist
110
+ attributes:
111
+ label: Checklist
112
+ description: Please confirm the following
113
+ options:
114
+ - label: I have searched for similar issues and couldn't find any
115
+ required: true
116
+ - label: I have tried the latest version of Logly
117
+ required: true
118
+ - label: I have included all relevant information above
119
+ required: true
@@ -0,0 +1,19 @@
1
+ # Configuration for GitHub Issue Templates
2
+ # This file controls which issue templates are available
3
+
4
+ # Disable blank issues - users must use templates
5
+ blank_issues_enabled: false
6
+
7
+ # Contact links for additional support
8
+ contact_links:
9
+ - name: Logly Documentation
10
+ url: https://muhammad-fiaz.github.io/logly/
11
+ about: Check our documentation for help and guides
12
+
13
+ - name: Logly Community Discussions
14
+ url: https://github.com/muhammad-fiaz/logly/discussions
15
+ about: Join community discussions for questions and general chat
16
+
17
+ - name: Security Issues
18
+ url: https://github.com/muhammad-fiaz/logly/security/advisories/new
19
+ about: Report security vulnerabilities privately
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: Documentation Issue
3
+ description: Report issues with documentation, examples, or guides
4
+ title: "[DOCS] "
5
+ labels: ["documentation", "triage"]
6
+ assignees: []
7
+ body:
8
+ - type: dropdown
9
+ id: doc-type
10
+ attributes:
11
+ label: Documentation Type
12
+ description: What type of documentation issue is this?
13
+ options:
14
+ - API Reference
15
+ - Quick Start Guide
16
+ - User Guide
17
+ - Examples
18
+ - README
19
+ - Code Comments
20
+ - Other
21
+ validations:
22
+ required: true
23
+
24
+ - type: input
25
+ id: doc-location
26
+ attributes:
27
+ label: Location
28
+ description: Where is the documentation located?
29
+ placeholder: e.g., docs/api-reference/logging.md, README.md, examples/basic-console.md
30
+ validations:
31
+ required: true
32
+
33
+ - type: textarea
34
+ id: description
35
+ attributes:
36
+ label: Description
37
+ description: Describe the documentation issue.
38
+ placeholder: |
39
+ - What is unclear, incorrect, or missing?
40
+ - What should be improved?
41
+ - Is there incorrect information?
42
+ validations:
43
+ required: true
44
+
45
+ - type: textarea
46
+ id: suggested-fix
47
+ attributes:
48
+ label: Suggested Fix
49
+ description: How should this be fixed or improved?
50
+ placeholder: |
51
+ - What changes should be made?
52
+ - Provide corrected text if applicable
53
+ - Suggest additional content or examples
54
+ validations:
55
+ required: false
56
+
57
+ - type: textarea
58
+ id: context
59
+ attributes:
60
+ label: Additional Context
61
+ description: Add any additional context about the documentation issue.
62
+ placeholder: |
63
+ - Why is this documentation important?
64
+ - How does this affect users?
65
+ - Screenshots of confusing sections
66
+ - Links to related documentation
67
+
68
+ - type: checkboxes
69
+ id: checklist
70
+ attributes:
71
+ label: Checklist
72
+ description: Please confirm the following
73
+ options:
74
+ - label: I have checked that this documentation issue hasn't been reported before
75
+ required: true
76
+ - label: The issue is with the documentation itself, not the underlying code
77
+ required: true
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: Feature Request
3
+ description: Suggest a new feature or enhancement
4
+ title: "[FEATURE] "
5
+ labels: ["enhancement", "triage"]
6
+ assignees: []
7
+ body:
8
+ - type: textarea
9
+ id: summary
10
+ attributes:
11
+ label: Feature Summary
12
+ description: Provide a brief summary of the feature you'd like to see.
13
+ placeholder: A clear and concise description of the proposed feature.
14
+ validations:
15
+ required: true
16
+
17
+ - type: textarea
18
+ id: problem
19
+ attributes:
20
+ label: Problem/Use Case
21
+ description: Describe the problem this feature would solve or the use case it would enable.
22
+ placeholder: |
23
+ - What problem are you trying to solve?
24
+ - What use case does this feature enable?
25
+ - Why is this important?
26
+ validations:
27
+ required: true
28
+
29
+ - type: textarea
30
+ id: solution
31
+ attributes:
32
+ label: Proposed Solution
33
+ description: Describe your proposed solution or implementation approach.
34
+ placeholder: |
35
+ - How should this feature work?
36
+ - What would the API look like?
37
+ - Any implementation details or considerations?
38
+ validations:
39
+ required: true
40
+
41
+ - type: textarea
42
+ id: alternatives
43
+ attributes:
44
+ label: Alternative Solutions
45
+ description: Describe any alternative solutions or workarounds you've considered.
46
+ placeholder: |
47
+ - What other approaches have you considered?
48
+ - Are there existing workarounds?
49
+ - Why are the alternatives not sufficient?
50
+
51
+ - type: dropdown
52
+ id: priority
53
+ attributes:
54
+ label: Priority
55
+ description: How important is this feature to you?
56
+ options:
57
+ - Nice to have
58
+ - Would be helpful
59
+ - Important for my use case
60
+ - Critical for my project
61
+ - Blocker (cannot use Logly without this)
62
+ validations:
63
+ required: true
64
+
65
+ - type: dropdown
66
+ id: complexity
67
+ attributes:
68
+ label: Estimated Complexity
69
+ description: How complex do you think this feature would be to implement?
70
+ options:
71
+ - Simple (small changes, low risk)
72
+ - Medium (moderate changes, some risk)
73
+ - Complex (major changes, high risk)
74
+ - Unknown
75
+ validations:
76
+ required: false
77
+
78
+ - type: textarea
79
+ id: additional-context
80
+ attributes:
81
+ label: Additional Context
82
+ description: Add any other context, examples, or references.
83
+ placeholder: |
84
+ - Screenshots or mockups
85
+ - Code examples
86
+ - Links to similar features in other libraries
87
+ - Performance requirements
88
+ - Compatibility considerations
89
+
90
+ - type: checkboxes
91
+ id: checklist
92
+ attributes:
93
+ label: Checklist
94
+ description: Please confirm the following
95
+ options:
96
+ - label: I have searched for similar feature requests and couldn't find any
97
+ required: true
98
+ - label: This feature would benefit other Logly users
99
+ required: true
100
+ - label: I am willing to contribute to the implementation if needed
101
+ required: false
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: Help/Support
3
+ description: Request help or support with Logly
4
+ title: "[HELP] "
5
+ labels: ["help", "triage"]
6
+ assignees: []
7
+ body:
8
+ - type: textarea
9
+ id: help-request
10
+ attributes:
11
+ label: Help Request
12
+ description: What help do you need with Logly?
13
+ placeholder: Describe your issue or what you need help with clearly.
14
+ validations:
15
+ required: true
16
+
17
+ - type: textarea
18
+ id: context
19
+ attributes:
20
+ label: Context
21
+ description: Provide context about your help request.
22
+ placeholder: |
23
+ - What are you trying to accomplish?
24
+ - What have you tried so far?
25
+ - What documentation have you read?
26
+ validations:
27
+ required: true
28
+
29
+ - type: textarea
30
+ id: code-example
31
+ attributes:
32
+ label: Code Example
33
+ description: If applicable, provide a code example that demonstrates your issue.
34
+ placeholder: |
35
+ ```python
36
+ # Your code here
37
+ ```
38
+ render: python
39
+ validations:
40
+ required: false
41
+
42
+ - type: input
43
+ id: version
44
+ attributes:
45
+ label: Logly Version
46
+ description: What version of Logly are you using?
47
+ placeholder: e.g., 0.1.4
48
+ validations:
49
+ required: true
50
+
51
+ - type: input
52
+ id: python-version
53
+ attributes:
54
+ label: Python Version
55
+ description: What Python version are you using?
56
+ placeholder: e.g., Python 3.12.9
57
+ validations:
58
+ required: true
59
+
60
+ - type: input
61
+ id: os
62
+ attributes:
63
+ label: Operating System
64
+ description: What operating system are you using?
65
+ placeholder: e.g., Windows 11, macOS 14.0, Ubuntu 22.04
66
+ validations:
67
+ required: true
68
+
69
+ - type: textarea
70
+ id: additional-info
71
+ attributes:
72
+ label: Additional Information
73
+ description: Any additional information that might be helpful.
74
+ placeholder: |
75
+ - Error messages
76
+ - Configuration files
77
+ - Performance issues
78
+ - Environment details
79
+
80
+ - type: checkboxes
81
+ id: checklist
82
+ attributes:
83
+ label: Checklist
84
+ description: Please confirm the following
85
+ options:
86
+ - label: I have searched the documentation and existing issues
87
+ required: true
88
+ - label: This is not a bug report (use the bug report template instead)
89
+ required: true
90
+ - label: This is not a feature request (use the feature request template instead)
91
+ required: true
@@ -0,0 +1,80 @@
1
+ ## Description
2
+
3
+ Brief description of the changes made in this pull request.
4
+
5
+ ## Type of Change
6
+
7
+ - [ ] Bug fix (non-breaking change which fixes an issue)
8
+ - [ ] New feature (non-breaking change which adds functionality)
9
+ - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10
+ - [ ] Documentation update
11
+ - [ ] Performance improvement
12
+ - [ ] Code refactoring
13
+ - [ ] Testing improvements
14
+ - [ ] Build/CI changes
15
+ - [ ] Other (please describe):
16
+
17
+ ## Changes Made
18
+
19
+ ### What was changed?
20
+ - Detailed description of the changes made
21
+
22
+ ### Why was this change needed?
23
+ - Explanation of the problem this change solves
24
+ - Any relevant context or background information
25
+
26
+ ### How was this implemented?
27
+ - Technical details of the implementation
28
+ - Any design decisions made
29
+ - Trade-offs considered
30
+
31
+ ## Testing
32
+
33
+ ### Test Coverage
34
+ - [ ] Unit tests added/updated
35
+ - [ ] Integration tests added/updated
36
+ - [ ] Manual testing performed
37
+ - [ ] Existing tests still pass
38
+
39
+ ### Test Results
40
+ ```
41
+ # Paste test output or describe test results here
42
+ ```
43
+
44
+ ### Manual Testing
45
+ - Steps performed for manual testing
46
+ - Expected vs actual results
47
+
48
+ ## Checklist
49
+
50
+ - [ ] My code follows the project's style guidelines
51
+ - [ ] I have performed a self-review of my own code
52
+ - [ ] I have commented my code, particularly in hard-to-understand areas
53
+ - [ ] I have made corresponding changes to the documentation
54
+ - [ ] My changes generate no new warnings or errors
55
+ - [ ] I have added tests that prove my fix is effective or that my feature works
56
+ - [ ] New and existing unit tests pass locally with my changes
57
+ - [ ] Any dependent changes have been merged and published
58
+
59
+ ## Breaking Changes
60
+
61
+ If this PR introduces breaking changes, please describe them here and provide migration guidance:
62
+
63
+ ### Breaking Changes:
64
+ - List any breaking changes
65
+
66
+ ### Migration Guide:
67
+ - How to migrate from the old behavior to the new behavior
68
+
69
+ ## Screenshots/Examples
70
+
71
+ If applicable, add screenshots or code examples to help explain your changes.
72
+
73
+ ## Related Issues
74
+
75
+ Closes # (issue number)
76
+ Relates to # (issue number)
77
+
78
+ ## Additional Notes
79
+
80
+ Any additional information or context that reviewers should be aware of.
@@ -1,26 +1,26 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: pip
4
- directory: "/"
5
- schedule:
6
- interval: weekly
7
- day: monday
8
- labels:
9
- - skip-changelog
10
- - dependencies
11
- - package-ecosystem: cargo
12
- directory: "/"
13
- schedule:
14
- interval: weekly
15
- day: monday
16
- labels:
17
- - skip-changelog
18
- - dependencies
19
- - package-ecosystem: github-actions
20
- directory: '/'
21
- schedule:
22
- interval: weekly
23
- day: monday
24
- labels:
25
- - skip-changelog
26
- - dependencies
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: pip
4
+ directory: "/"
5
+ schedule:
6
+ interval: weekly
7
+ day: monday
8
+ labels:
9
+ - skip-changelog
10
+ - dependencies
11
+ - package-ecosystem: cargo
12
+ directory: "/"
13
+ schedule:
14
+ interval: weekly
15
+ day: monday
16
+ labels:
17
+ - skip-changelog
18
+ - dependencies
19
+ - package-ecosystem: github-actions
20
+ directory: '/'
21
+ schedule:
22
+ interval: weekly
23
+ day: monday
24
+ labels:
25
+ - skip-changelog
26
+ - dependencies
@@ -1,25 +1,25 @@
1
- name-template: 'v$RESOLVED_VERSION'
2
- tag-template: 'v$RESOLVED_VERSION'
3
- exclude-labels:
4
- - 'dependencies'
5
- - 'skip-changelog'
6
- version-resolver:
7
- major:
8
- labels:
9
- - 'breaking-change'
10
- minor:
11
- labels:
12
- - 'enhancement'
13
- default: patch
14
- categories:
15
- - title: '⚠ Breaking changes'
16
- label: 'breaking-change'
17
- - title: 'Features'
18
- labels: 'enhancement'
19
- - title: 'Bug Fixes'
20
- labels: 'bug'
21
- change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
22
- template: |
23
- ## Changes
24
-
25
- $CHANGES
1
+ name-template: 'v$RESOLVED_VERSION'
2
+ tag-template: 'v$RESOLVED_VERSION'
3
+ exclude-labels:
4
+ - 'dependencies'
5
+ - 'skip-changelog'
6
+ version-resolver:
7
+ major:
8
+ labels:
9
+ - 'breaking-change'
10
+ minor:
11
+ labels:
12
+ - 'enhancement'
13
+ default: patch
14
+ categories:
15
+ - title: '⚠ Breaking changes'
16
+ label: 'breaking-change'
17
+ - title: 'Features'
18
+ labels: 'enhancement'
19
+ - title: 'Bug Fixes'
20
+ labels: 'bug'
21
+ change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
22
+ template: |
23
+ ## Changes
24
+
25
+ $CHANGES
@@ -1,38 +1,38 @@
1
- name: Dependency Insights
2
-
3
- on:
4
- workflow_run:
5
- workflows: ["CI for checkversions"]
6
- types:
7
- - completed
8
-
9
- jobs:
10
- insights:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - name: Checkout code
14
- uses: actions/checkout@v2
15
-
16
- - name: Set up Python
17
- uses: actions/setup-python@v2
18
- with:
19
- python-version: '3.x'
20
-
21
- - name: Install Python dependencies
22
- uses: py-actions/py-dependency-install@v4
23
- with:
24
- path: "requirements.txt"
25
- update-pip: "true"
26
- update-setuptools: "true"
27
- update-wheel: "true"
28
-
29
- - name: Fetch dependents
30
- run: |
31
- REPO_NAME=$(basename $GITHUB_REPOSITORY)
32
- curl -sSL "https://api.github.com/repos/${GITHUB_REPOSITORY}/network/dependents?package_type=python&per_page=1000" \
33
- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
34
- -H "Accept: application/vnd.github.v3.star+json" \
35
- | jq -r '.[] | "\(.starred_at) \(.repository.html_url)"' \
36
- | sort -r
37
- env:
38
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1
+ name: Dependency Insights
2
+
3
+ on:
4
+ workflow_run:
5
+ workflows: ["CI for checkversions"]
6
+ types:
7
+ - completed
8
+
9
+ jobs:
10
+ insights:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: '3.x'
20
+
21
+ - name: Install Python dependencies
22
+ uses: py-actions/py-dependency-install@v4
23
+ with:
24
+ path: "requirements.txt"
25
+ update-pip: "true"
26
+ update-setuptools: "true"
27
+ update-wheel: "true"
28
+
29
+ - name: Fetch dependents
30
+ run: |
31
+ REPO_NAME=$(basename $GITHUB_REPOSITORY)
32
+ curl -sSL "https://api.github.com/repos/${GITHUB_REPOSITORY}/network/dependents?package_type=python&per_page=1000" \
33
+ -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \
34
+ -H "Accept: application/vnd.github.v3.star+json" \
35
+ | jq -r '.[] | "\(.starred_at) \(.repository.html_url)"' \
36
+ | sort -r
37
+ env:
38
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}