Skip to content

Meta: Add CONTRIBUTING.md and lint-commit.sh helper script #164

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ADKaster
Copy link
Member

The contributing docs are lightly edited from the original file in the
ladybird repo. The script is a straight copy paste.

@ADKaster ADKaster requested review from gmta and awesomekling July 15, 2025 22:23

jobs:
lint:
runs-on: blacksmith-2vcpu-ubuntu-2404
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these available org-wide? or do they need enabled per-repo

if: ${{ failure() && !github.event.pull_request.draft }}
uses: IdanHo/comment-on-pr@63ea2bf352997c66e524b8b5be7a79163fb3a88a
env:
GITHUB_TOKEN: ${{ secrets.LADYBIRD_BOT_TOKEN }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same Q for the bot token. org-wide, or needs owner fiddling in the settings?

CONTRIBUTING.md Outdated
Comment on lines 65 to 68
* Examples: `LibMedia`, `WebContent`, `CI`, `AK`, `RequestServer`, `js`
* Don't use a category like "`Libraries`" or "`Utilities`", except for generic changes that affect a large portion of code within these directories.
* Don't use specific component names, e.g. C++ class names, as the category either - mention them in the summary instead. E.g. `LibGUI: Brief description of what's being changed in FooWidget` rather than `FooWidget: Brief description of what's being changed`
* Several categories may be combined with `+`, e.g. `LibJS+LibWeb+Browser: ...`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted most of the C++-isms from this section, but kept this because thinking of new website-specific component examples didn't sound like fun.


Ping them right away if it's something urgent! If it's less urgent, advertise your PR on Discord (`#code-review`) and ask if someone could review it.

### Is Discord the place to ask for review help, or is GitHub preferred?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the note on stalebot was deleted here, but can be added back if we turn it on for this repo.

ADKaster added 2 commits July 15, 2025 16:28
The contributing docs are lightly edited from the original file in the
ladybird repo. The script is a straight copy paste.
This is a straight copy from the ladybird repo, with a single docs link
changed in the bot message.
@ADKaster ADKaster force-pushed the contributing-guidelinez branch from 49c804f to fb3de79 Compare July 15, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant