-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into dd-6237-convert-md-to-lua
- Loading branch information
Showing
28 changed files
with
320 additions
and
156 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2024 FAForever | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
name: Convert PRs to Draft on Opening | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
convert_to_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: gh pr ready --undo ${{ github.event.pull_request.number }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,102 @@ | ||
Contributing | ||
------------ | ||
|
||
To contribute, please fork this repository and make pull requests to the | ||
`deploy/fafdevelop` branch. | ||
## When making a PR: | ||
|
||
Use the normal git conventions for commit messages, with the following rules: | ||
- Subject line shorter than 80 characters | ||
- No trailing period | ||
- For non-trivial commits, always include a commit message body, describing the change in detail | ||
- If there are related issues, reference them in the commit message footer | ||
If you plan a bigger change, make an issue first to discuss the feature. This way you can avoid spending time on something that would ultimately be denied integration. | ||
|
||
We use [git flow](http://nvie.com/posts/a-successful-git-branching-model/) for our branch conventions. | ||
- Target the `develop` branch. | ||
- Start your PR as draft. | ||
- Don't forget to add appropriate tags. | ||
|
||
When making _backwards incompatible API changes_, do so with a stub function and put in a logging statement including traceback. This gives time for mod authors to change their code, as well as for us to catch any incompatibilities introduced by the change. | ||
Each PR needs a [snippet](https://faforever.github.io/fa/development/changelog) for the changelog file of the release. | ||
When you have made all the changes you intended to do and have added the snippet, you can mark the PR as ready for review by removing the draft status from the PR. | ||
Now the PR should be milestoned to the next release. | ||
You can request reviews from people that a knowledgable in the domains of the code you changed (See below). | ||
|
||
Code convention | ||
--------------- | ||
|
||
Please follow the [Lua Style Guide](http://lua-users.org/wiki/LuaStyleGuide) as | ||
much as possible. | ||
## How to do a review: | ||
|
||
For file encoding, use UTF-8 and unix-style file endings (Set core.autocrlf). | ||
1. Do we want this feature? | ||
If it's just a bugfix this can generally be answered as yes. | ||
If it's a new feature or changes gameplay in a more meaningful way there is ideally a linked issue where the discussion already happened and it was concluded that we want this feature. | ||
Sanity check: Should this rather be a sim/ui mod? | ||
|
||
2. Functionality | ||
Start the game with these changes and see if the described changes work as intended. | ||
Test if related functionality still works and didn't inadvertantly break. | ||
There is no hard rule how much testing is needed, especially as we can't automate this. You don't have to go overboard with testing as we still have the duration between the merge and the next release to notice bugs during actual gameplay. | ||
|
||
3. Technical code review | ||
Is the code style correct? Please follow the [Lua Style Guide](http://lua-users.org/wiki/LuaStyleGuide). | ||
Is the code readable and doing things the way things should be done? | ||
This step should be done by people that have knowledge of the affected domains of the code base (See below). | ||
|
||
4. Balance implications (only for PRs labeled as balance) | ||
Changes touching balance need a green light from the balance team. | ||
|
||
It's totally possible to review not all steps if you don't have the knowledge or motivation to do them all. Someone else can pick up the other steps. | ||
If you don't review all steps, don't formally approve the PR, but state your approval of the steps you did in a review comment. Only PRs that passed all review steps should be formally approved. | ||
|
||
|
||
## When to merge: | ||
|
||
After all the necessary reviews have passed and the PR has been approved it can be merged. We suggest to wait 24 hours after approval, so the owner of the PR can interject if there was some sort of miscommunication and the owner still intends to do some changes. The PR owner can also merge the PR if they want. | ||
|
||
Merge by using the squash option. | ||
Use the normal git conventions for the commit message, with the following rules: | ||
|
||
- Subject line shorter than 80 characters | ||
- Pull request number at the end | ||
- No trailing period | ||
- For non-trivial commits, always include a commit message body, describing the change in detail | ||
|
||
If the branch was in the FAForever repository, delete it after the merge, so it doesn't clutter the repo. | ||
|
||
## Reviewers | ||
|
||
These are people knowledgeable of the indicated areas, that are good candidates to request a review from. | ||
|
||
**lua (ui)** | ||
@4z0t | ||
@Basilisk3 | ||
@lL1l1 | ||
@Garanas | ||
@Hdt80bro | ||
@clyfordv | ||
@speed2CZ | ||
|
||
**lua (sim)** | ||
@lL1l1 | ||
@4z0t | ||
@Basilisk3 | ||
@Garanas | ||
@Hdt80bro | ||
@clyfordv | ||
@speed2CZ | ||
@The-Balthazar | ||
|
||
**AI** | ||
@relent0r | ||
@Garanas | ||
|
||
**blueprints** | ||
@Basilisk3 | ||
@Garanas | ||
@Hdt80bro | ||
@lL1l1 | ||
@The-Balthazar | ||
|
||
**mapping** | ||
@speed2CZ | ||
|
||
**modeling** | ||
@MadMaxFAF | ||
@The-Balthazar | ||
@lL1l1 | ||
|
||
**graphics** | ||
@BlackYps | ||
@Garanas | ||
|
||
**binary patches** | ||
@4z0t | ||
@Hdt80bro |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- (#6423) The Pulsar receives various tweaks in anticipation of its future introduction into the game. Additionally, the Pulsar's files have been updated to remove the last remnants of its former name. Initially, the unit was called Othismash. | ||
|
||
- Pulsar: T3 Mobile EMP Missile Launcher (SRL0310): | ||
- Categories added: | ||
- `PRODUCTDL` | ||
- `SNIPEMODE` | ||
- Pulsar EMP Missile Barrage: | ||
- DamageRadius: 0 --> 1 (same as its EMP weapon) | ||
- TurretPitchRange: 15 --> 40 (required against nearby units and units on top of mountains) | ||
- TurretPitchSpeed: 20 --> 50 (improves the responsiveness of the turret) | ||
- Introduce a taller firing arc to allow the Pulsar to shoot over obstacles more easily |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- (#6469) Unlike other Tech 2 units, the Fire Beetle only takes up one clamp on transports. This makes it possible to load the same quantities of Fire Beetles and Tech 1 units into transports. To ensure that the Fire Beetle does not slow transports down excessively, its `TransportSpeedReduction` stat is reduced to match that of Tech 1 units. | ||
|
||
- Fire Beetle: T2 Mobile Bomb (XRL0302): | ||
- TransportSpeedReduction: 0.3 --> 0.15 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6416) Fix Salvation's reload time not increasing from 2.5 to 2.6 when missing T1 power generator adjacency and only having T3 power generators. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6418) Fix ACU explosions being able to kill TMD structures. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6419) Fix engineer stations without a `GuardScanRadius` defaulting to 300 radius for their build range overlay. They now display their full build range in the radius for better compatibility with the reclaim tower mods, even though `GuardScanRadius` defaults to 25. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6429) Fix the aim of the GC's claws being disrupted by the walking animation. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6436) Prevent the logging of an unecessary warning when certain units make landfall. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6471) Fix Seraphim walls not orientating towards the terrain |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- (#6451) Annotate emitter blueprint parameters with extensive descriptions. |
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
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
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
Oops, something went wrong.