-
Notifications
You must be signed in to change notification settings - Fork 185
Add Cursor agent rules #950
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| --- | ||
| globs: CHANGELOG.md | ||
| alwaysApply: false | ||
| --- | ||
| # Sentry Symfony SDK Release Process | ||
|
|
||
| ## Release Process | ||
|
|
||
| To prepare a new release (e.g., version 4.14.0): | ||
|
|
||
| 1. **Update master branch**: Always ensure master is up-to-date first | ||
| ```bash | ||
| git checkout master | ||
| git pull origin master | ||
| ``` | ||
|
|
||
| 2. **Create release branch**: Create a branch named `prepare-X.Y.Z` | ||
| ```bash | ||
| git checkout -b prepare-4.14.0 | ||
| ``` | ||
|
|
||
| 3. **Find changes since last release**: Check commits since the last version tag | ||
| ```bash | ||
| git log --oneline --no-merges 4.13.0..HEAD | ||
| ``` | ||
|
|
||
| 4. **Update CHANGELOG.md**: Add new version section with: | ||
| - Version number and announcement text | ||
| - Features section for new features | ||
| - Bug Fixes section for bug fixes | ||
| - Misc section for documentation/readme updates | ||
| - Use format: `- Description [(#PR)](mdc:https:/github.com/getsentry/sentry-symfony/pull/PR)` | ||
|
|
||
| ## CHANGELOG.md Format | ||
|
|
||
| ```markdown | ||
| ## X.Y.Z | ||
|
|
||
| The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK vX.Y.Z. | ||
|
|
||
| ### Features | ||
|
|
||
| - New feature description [(#1234)](mdc:https:/github.com/getsentry/sentry-php/pull/1234) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - Bug fix description [(#1235)](mdc:https:/github.com/getsentry/sentry-php/pull/1235) | ||
|
|
||
| ### Misc | ||
|
|
||
| - Documentation/misc changes [(#1236)](mdc:https:/github.com/getsentry/sentry-php/pull/1236) | ||
| ``` | ||
|
|
||
| ## Committing Changes | ||
|
|
||
| After updating CHANGELOG.md: | ||
|
|
||
| 1. **Stage only the changelog**: `git add CHANGELOG.md` | ||
| 2. **Create simple commit**: `git commit -m "Prepare X.Y.Z"` | ||
| - Use simple commit message format | ||
| - Don't include additional descriptions or generated tags | ||
|
|
||
| ## Common Commands | ||
|
|
||
| - Check git status: `git status` | ||
| - View recent commits: `git log --oneline -10` | ||
| - Create branch: `git checkout -b branch-name` | ||
| - Update from remote: `git pull origin master` | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Malformed URLs and Inconsistent Repo References
The release process document contains malformed GitHub URLs, appearing as
https:/github.com/instead ofhttps://github.com/in the format instruction and all examples, rendering them non-functional. It also inconsistently referencessentry-symfonyandsentry-phpin the title, format instruction, and examples, which may confuse users about the correct repository.