Skip to content

Commit

Permalink
Feat(Repo): rework issue / pr template
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Dec 17, 2024
1 parent c845c8c commit 79ee477
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 71 deletions.
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

56 changes: 32 additions & 24 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
# Bug Report

---
A clear and concise description of the bug.

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
## Steps to Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
2. Perform action '...'
3. See error '...'

**Expected behavior**
## Expected Behavior
A clear and concise description of what you expected to happen.

**Screenshots**
## Actual Behavior
Describe what actually happens instead.

## Screenshots
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
## Environment Details
- **Agent Version:** [e.g., 1.2.3]
- **Android Version:** [e.g., Android 11]
- **Device:** [e.g., Pixel 5]
- **Any other relevant details:** [e.g., build environment, dependencies]

## Logs
Please provide relevant logcat output or any other logs that may help in diagnosing the issue.

```text
# Paste logs here
```

## Additional context
Add any other context about the problem here, including links to documentation or issues that might be related.

## Possible Solution
(Optional) If you have an idea of how to fix the bug, describe it here.

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
## Checklist
- [ ] I have searched existing issues to see if the bug has already been reported.
- [ ] I have provided sufficient details to reproduce the issue.
- [ ] I have included relevant logs/screenshots.

**Additional context**
Add any other context about the problem here.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/Feature_request.md

This file was deleted.

46 changes: 29 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,40 @@
### Changes description
# Pull Request

<!-- Describe results, user mentions, screenshots, screencast (gif) -->
## Description
Provide a brief description of the changes made in this pull request. Include the problem this fixes or the feature it implements.

### Checklist
### Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update (improvements or additions to documentation)

Please check if your PR fulfills the following specifications:
---

- [ ] Tests for the changes have been added
- [ ] Docs have been added/updated
## Related Issues
List any related issues that are fixed or addressed by this pull request.

### Estimated time
Fixes: # [issue number]

<!-- Add the number of pomodoros spent on this task -->
Closes: # [issue number]

|Assignee|:tomato:|
|:---|:---:|
|@|1|
---

<!--- Task not finished? Please give an update of the time --->
## Testing
Describe the testing performed for these changes:
- Device/Emulator: [e.g., Pixel 5, Android 12]
- Test Cases: [e.g., tested login functionality, navigation, etc.]
- Results: [e.g., passed all tests, fixed rendering issue]

### References
---

<!-- issues related (for reference or to be closed), dependencies and/or links of discuss -->
## Screenshots/Recordings
If applicable, attach screenshots or recordings of the changes made.

Closes #N/A
Related #N/A
Depends on #N/A
---

## Checklist
- [ ] I have tested these changes locally.
- [ ] I have added tests that prove my fix is effective or my feature works.
- [ ] I have updated documentation (if necessary).
- [ ] I have ensured that this PR does not introduce unintended breaking changes.
8 changes: 4 additions & 4 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repository:
name: android-inventory-agent
description: Flyve MDM Inventory Agent
homepage: http://flyve.org/android-inventory-agent/
topics: flyve-mdm, android, inventory-agent
description: Android Inventory Agent
homepage: https://github.com/glpi-project/android-inventory-agent/
topics: android, inventory-agent
private: false
has_issues: true
has_wiki: false
has_downloads: true
default_branch: develop
default_branch: main
allow_squash_merge: true
allow_merge_commit: false
allow_rebase_merge: true
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/label-commener-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
labels:
- name: "invalid"
labeled:
issue:
body: |
This issue has been closed because you did not provide the requested information.
action: "close"
- name: "support"
labeled:
issue:
body: |
This issue has been closed as we only track bugs here.
You can get community support on [forums](https://forum.glpi-project.org/) or you can consider [taking a subscription](https://glpi-project.org/subscriptions/) to get professional support.
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly.
action: close
- name: "feature suggestion"
labeled:
issue:
body: |
This issue has been closed as we only track bugs here.
You can open a topic to discuss with community about this enhancement on [suggestion website](https://glpi.userecho.com/).
You can also [contact GLPI editor team](https://portal.glpi-network.com/contact-us) directly if you are willing to sponsor this feature.
action: close

0 comments on commit 79ee477

Please sign in to comment.