Skip to content
Myr

fix(docs): move documentation and charters to the discussions and .github … (#6427)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* docs: move documentation and charters to the discussions and .github repository * Update Readme.md

authored by Sebastian Beltran · committed by GitHub · parent b8ab465 · Browse files · 10 files+80 added−1000 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

10 files+80 added−1000 removed

  • other:+80 added−1000 removed

10 files+80 added−1000 removed

deleted:Charter.md-92 removed
1# Express Charter23## Section 0: Guiding Principles45The Express project is part of the OpenJS Foundation which operates6transparently, openly, collaboratively, and ethically.7Project proposals, timelines, and status must not merely be open, but8also easily visible to outsiders.910## Section 1: Scope1112Express is a HTTP web server framework with a simple and expressive API13which is highly aligned with Node.js core. We aim to be the best in14class for writing performant, spec compliant, and powerful web servers15in Node.js. As one of the oldest and most popular web frameworks in16the ecosystem, we have an important place for new users and experts17alike.1819### 1.1: In-scope2021Express is made of many modules spread between three GitHub Orgs:2223- [expressjs](https://github.com/expressjs/): Top level middleware and24 libraries25- [pillarjs](https://github.com/pillarjs/): Components which make up26 Express but can also be used for other web frameworks27- [jshttp](https://github.com/jshttp/): Low level HTTP libraries2829### 1.2: Out-of-Scope3031Section Intentionally Left Blank3233## Section 2: Relationship with OpenJS Foundation CPC.3435Technical leadership for the projects within the OpenJS Foundation is36delegated to the projects through their project charters by the OpenJS37Cross Project Council (CPC). In the case of the Express project, it is38delegated to the Express Technical Committee ("TC").3940This Technical Committee is in charge of both the day-to-day operations41of the project, as well as its technical management. This charter can42be amended by the TC requiring at least two approvals and a minimum two43week comment period for other TC members or CPC members to object. Any44changes the CPC wishes to propose will be considered a priority but45will follow the same process.4647### 2.1 Other Formal Project Relationships4849Section Intentionally Left Blank5051## Section 3: Express Governing Body5253The Express project is managed by the Technical Committee ("TC").54Members can be added to the TC at any time. Any committer can nominate55another committer to the TC and the TC uses its standard consensus56seeking process to evaluate whether or not to add this new member.57Members who do not participate consistently at the level of a majority58of the other members are expected to resign.5960## Section 4: Roles & Responsibilities6162The Express TC manages all aspects of both the technical and community63parts of the project. Members of the TC should attend the regular64meetings when possible, and be available for discussion of time65sensitive or important issues.6667### Section 4.1 Project Operations & Management6869Section Intentionally Left Blank7071### Section 4.2: Decision-making, Voting, and/or Elections7273The Express TC uses a "consensus seeking" process for issues that are74escalated to the TC. The group tries to find a resolution that has no75open objections among TC members. If a consensus cannot be reached76that has no objections then a majority wins vote is called. It is also77expected that the majority of decisions made by the TC are via a78consensus seeking process and that voting is only used as a last-resort.7980Resolution may involve returning the issue to committers with81suggestions on how to move forward towards a consensus. It is not82expected that a meeting of the TC will resolve all issues on its83agenda during that meeting and may prefer to continue the discussion84happening among the committers.8586### Section 4.3: Other Project Roles8788Section Intentionally Left Blank8990## Section 5: Definitions9192Section Intentionally Left Blank
deleted:Code-Of-Conduct.md-139 removed
1# Contributor Covenant Code of Conduct23As a member of the Open JS Foundation, Express has adopted the4[Contributor Covenant 2.0][cc-20-doc].56If an issue arises and you cannot resolve it directly with the parties7involved, you can report it to the Express project TC through the following8email: express-coc@lists.openjsf.org910In addition, the OpenJS Foundation maintains a Code of Conduct Panel (CoCP).11This is a foundation-wide team established to manage escalation when a reporter12believes that a report to a member project or the CPC has not been properly13handled. In order to escalate to the CoCP send an email to14coc-escalation@lists.openjsf.org.1516## Our Pledge1718We as members, contributors, and leaders pledge to make participation in our19community a harassment-free experience for everyone, regardless of age, body20size, visible or invisible disability, ethnicity, sex characteristics, gender21identity and expression, level of experience, education, socio-economic status,22nationality, personal appearance, race, religion, or sexual identity and23orientation.2425We pledge to act and interact in ways that contribute to an open, welcoming,26diverse, inclusive, and healthy community.2728## Our Standards2930Examples of behavior that contributes to a positive environment for our31community include:3233* Demonstrating empathy and kindness toward other people34* Being respectful of differing opinions, viewpoints, and experiences35* Giving and gracefully accepting constructive feedback36* Accepting responsibility and apologizing to those affected by our mistakes,37 and learning from the experience38* Focusing on what is best not just for us as individuals, but for the overall39 community4041Examples of unacceptable behavior include:4243* The use of sexualized language or imagery, and sexual attention or advances44 of any kind45* Trolling, insulting or derogatory comments, and personal or political attacks46* Public or private harassment47* Publishing others' private information, such as a physical or email address,48 without their explicit permission49* Other conduct which could reasonably be considered inappropriate in a50 professional setting5152## Enforcement Responsibilities5354Community leaders are responsible for clarifying and enforcing our standards of55acceptable behavior and will take appropriate and fair corrective action in56response to any behavior that they deem inappropriate, threatening, offensive,57or harmful.5859Community leaders have the right and responsibility to remove, edit, or reject60comments, commits, code, wiki edits, issues, and other contributions that are61not aligned to this Code of Conduct, and will communicate reasons for62moderation decisions when appropriate.6364## Scope6566This Code of Conduct applies within all community spaces, and also applies when67an individual is officially representing the community in public spaces.68Examples of representing our community include using an official e-mail69address, posting via an official social media account, or acting as an70appointed representative at an online or offline event.7172## Enforcement7374Instances of abusive, harassing, or otherwise unacceptable behavior may be75reported to the community leaders responsible for enforcement at76express-coc@lists.openjsf.org. All complaints will be reviewed and77investigated promptly and fairly.7879All community leaders are obligated to respect the privacy and security of the80reporter of any incident.8182## Enforcement Guidelines8384Community leaders will follow these Community Impact Guidelines in determining85the consequences for any action they deem in violation of this Code of Conduct:8687### 1. Correction8889**Community Impact**: Use of inappropriate language or other behavior deemed90unprofessional or unwelcome in the community.9192**Consequence**: A private, written warning from community leaders, providing93clarity around the nature of the violation and an explanation of why the94behavior was inappropriate. A public apology may be requested.9596### 2. Warning9798**Community Impact**: A violation through a single incident or series of99actions.100101**Consequence**: A warning with consequences for continued behavior. No102interaction with the people involved, including unsolicited interaction with103those enforcing the Code of Conduct, for a specified period of time. This104includes avoiding interactions in community spaces as well as external channels105like social media. Violating these terms may lead to a temporary or permanent106ban.107108### 3. Temporary Ban109110**Community Impact**: A serious violation of community standards, including111sustained inappropriate behavior.112113**Consequence**: A temporary ban from any sort of interaction or public114communication with the community for a specified period of time. No public or115private interaction with the people involved, including unsolicited116interaction with those enforcing the Code of Conduct, is allowed during this117period. Violating these terms may lead to a permanent ban.118119### 4. Permanent Ban120121**Community Impact**: Demonstrating a pattern of violation of community122standards, including sustained inappropriate behavior, harassment of an123individual, or aggression toward or disparagement of classes of individuals.124125**Consequence**: A permanent ban from any sort of public interaction within the126project community.127128## Attribution129130This Code of Conduct is adapted from the [Contributor Covenant, version 2.0][cc-20-doc].131132Community Impact Guidelines were inspired by133[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).134135[cc-20-doc]: https://www.contributor-covenant.org/version/2/0/code_of_conduct/136137For answers to common questions about this code of conduct, see the FAQ at138https://www.contributor-covenant.org/faq. Translations are available at139https://www.contributor-covenant.org/translations.
deleted:Collaborator-Guide.md-51 removed
deleted:Contributing.md-245 removed
1# Express.js Community Contributing Guide 1.023The goal of this document is to create a contribution process that:45* Encourages new contributions.6* Encourages contributors to remain involved.7* Avoids unnecessary processes and bureaucracy whenever possible.8* Creates a transparent decision making process that makes it clear how9contributors can be involved in decision making.1011## Vocabulary1213* A **Contributor** is any individual creating or commenting on an issue or pull request.14* A **Committer** is a subset of contributors who have been given write access to the repository.15* A **Project Captain** is the lead maintainer of a repository.16* A **TC (Technical Committee)** is a group of committers representing the required technical17expertise to resolve rare disputes.18* A **Triager** is a subset of contributors who have been given triage access to the repository.1920## Logging Issues2122Log an issue for any question or problem you might have. When in doubt, log an issue, and23any additional policies about what to include will be provided in the responses. The only24exception is security disclosures which should be sent privately.2526Committers may direct you to another repository, ask for additional clarifications, and27add appropriate metadata before the issue is addressed.2829Please be courteous and respectful. Every participant is expected to follow the30project's Code of Conduct.3132## Contributions3334Any change to resources in this repository must be through pull requests. This applies to all changes35to documentation, code, binary files, etc. Even long term committers and TC members must use36pull requests.3738No pull request can be merged without being reviewed.3940For non-trivial contributions, pull requests should sit for at least 36 hours to ensure that41contributors in other timezones have time to review. Consideration should also be given to42weekends and other holiday periods to ensure active committers all have reasonable time to43become involved in the discussion and review process if they wish.4445The default for each contribution is that it is accepted once no committer has an objection.46During a review, committers may also request that a specific contributor who is most versed in a47particular area gives a "LGTM" before the PR can be merged. There is no additional "sign off"48process for contributions to land. Once all issues brought by committers are addressed it can49be landed by any committer.5051In the case of an objection being raised in a pull request by another committer, all involved52committers should seek to arrive at a consensus by way of addressing concerns being expressed53by discussion, compromise on the proposed change, or withdrawal of the proposed change.5455If a contribution is controversial and committers cannot agree about how to get it to land56or if it should land then it should be escalated to the TC. TC members should regularly57discuss pending contributions in order to find a resolution. It is expected that only a58small minority of issues be brought to the TC for resolution and that discussion and59compromise among committers be the default resolution mechanism.6061## Becoming a Triager6263Anyone can become a triager! Read more about the process of being a triager in64[the triage process document](Triager-Guide.md).6566Currently, any existing [organization member](https://github.com/orgs/expressjs/people) can nominate67a new triager. If you are interested in becoming a triager, our best advice is to actively participate68in the community by helping triaging issues and pull requests. As well we recommend69to engage in other community activities like attending the TC meetings, and participating in the Slack70discussions. If you feel ready and have been helping triage some issues, reach out to an active member of the organization to ask if they'd71be willing to support you. If they agree, they can create a pull request to formalize your nomination. In the case of an objection to the nomination, the triage team is responsible for working with the individuals involved and finding a resolution.7273You can also reach out to any of the [organization members](https://github.com/orgs/expressjs/people)74if you have questions or need guidance.7576## Becoming a Committer7778All contributors who have landed significant and valuable contributions should be onboarded in a timely manner,79and added as a committer, and be given write access to the repository.8081Committers are expected to follow this policy and continue to send pull requests, go through82proper review, and have other committers merge their pull requests.8384## TC Process8586The TC uses a "consensus seeking" process for issues that are escalated to the TC.87The group tries to find a resolution that has no open objections among TC members.88If a consensus cannot be reached that has no objections then a majority wins vote89is called. It is also expected that the majority of decisions made by the TC are via90a consensus seeking process and that voting is only used as a last-resort.9192Resolution may involve returning the issue to project captains with suggestions on93how to move forward towards a consensus. It is not expected that a meeting of the TC94will resolve all issues on its agenda during that meeting and may prefer to continue95the discussion happening among the project captains.9697Members can be added to the TC at any time. Any TC member can nominate another committer98to the TC and the TC uses its standard consensus seeking process to evaluate whether or99not to add this new member. The TC will consist of a minimum of 3 active members and a100maximum of 10. If the TC should drop below 5 members the active TC members should nominate101someone new. If a TC member is stepping down, they are encouraged (but not required) to102nominate someone to take their place.103104TC members will be added as admin's on the Github orgs, npm orgs, and other resources as105necessary to be effective in the role.106107To remain "active" a TC member should have participation within the last 12 months and miss108no more than six consecutive TC meetings. Our goal is to increase participation, not punish109people for any lack of participation, this guideline should be only be used as such110(replace an inactive member with a new active one, for example). Members who do not meet this111are expected to step down. If A TC member does not step down, an issue can be opened in the112discussions repo to move them to inactive status. TC members who step down or are removed due113to inactivity will be moved into inactive status.114115Inactive status members can become active members by self nomination if the TC is not already116larger than the maximum of 10. They will also be given preference if, while at max size, an117active member steps down.118119## Project Captains120121The Express TC can designate captains for individual projects/repos in the122organizations. These captains are responsible for being the primary123day-to-day maintainers of the repo on a technical and community front.124Repo captains are empowered with repo ownership and package publication rights.125When there are conflicts, especially on topics that effect the Express project126at large, captains are responsible to raise it up to the TC and drive127those conflicts to resolution. Captains are also responsible for making sure128community members follow the community guidelines, maintaining the repo129and the published package, as well as in providing user support.130131Like TC members, Repo captains are a subset of committers.132133To become a captain for a project the candidate is expected to participate in that134project for at least 6 months as a committer prior to the request. They should have135helped with code contributions as well as triaging issues. They are also required to136have 2FA enabled on both their GitHub and npm accounts.137138Any TC member or an existing captain on the **same** repo can nominate another committer 139to the captain role. To do so, they should submit a PR to this document, updating the 140**Active Project Captains** section (while maintaining the sort order) with the project 141name, the nominee's GitHub handle, and their npm username (if different).142- Repos can have as many captains as make sense for the scope of work.143- A TC member or an existing repo captain **on the same project** can nominate a new captain. 144 Repo captains from other projects should not nominate captains for a different project.145146The PR will require at least 2 approvals from TC members and 2 weeks hold time to allow 147for comment and/or dissent. When the PR is merged, a TC member will add them to the 148proper GitHub/npm groups.149150### Active Projects and Captains151152- [`expressjs/badgeboard`](https://github.com/expressjs/badgeboard): @wesleytodd153- [`expressjs/basic-auth-connect`](https://github.com/expressjs/basic-auth-connect): @ulisesGascon154- [`expressjs/body-parser`](https://github.com/expressjs/body-parser): @wesleytodd, @jonchurch, @ulisesGascon155- [`expressjs/compression`](https://github.com/expressjs/compression): @ulisesGascon156- [`expressjs/connect-multiparty`](https://github.com/expressjs/connect-multiparty): @ulisesGascon157- [`expressjs/cookie-parser`](https://github.com/expressjs/cookie-parser): @wesleytodd, @UlisesGascon158- [`expressjs/cookie-session`](https://github.com/expressjs/cookie-session): @ulisesGascon159- [`expressjs/cors`](https://github.com/expressjs/cors): @jonchurch, @ulisesGascon160- [`expressjs/discussions`](https://github.com/expressjs/discussions): @wesleytodd161- [`expressjs/errorhandler`](https://github.com/expressjs/errorhandler): @ulisesGascon162- [`expressjs/express-paginate`](https://github.com/expressjs/express-paginate): @ulisesGascon163- [`expressjs/express`](https://github.com/expressjs/express): @wesleytodd, @ulisesGascon164- [`expressjs/expressjs.com`](https://github.com/expressjs/expressjs.com): @crandmck, @jonchurch, @bjohansebas165- [`expressjs/flash`](https://github.com/expressjs/flash): @ulisesGascon166- [`expressjs/generator`](https://github.com/expressjs/generator): @wesleytodd167- [`expressjs/method-override`](https://github.com/expressjs/method-override): @ulisesGascon168- [`expressjs/morgan`](https://github.com/expressjs/morgan): @jonchurch, @ulisesGascon169- [`expressjs/multer`](https://github.com/expressjs/multer): @LinusU, @ulisesGascon170- [`expressjs/response-time`](https://github.com/expressjs/response-time): @UlisesGascon171- [`expressjs/serve-favicon`](https://github.com/expressjs/serve-favicon): @ulisesGascon172- [`expressjs/serve-index`](https://github.com/expressjs/serve-index): @ulisesGascon173- [`expressjs/serve-static`](https://github.com/expressjs/serve-static): @ulisesGascon174- [`expressjs/session`](https://github.com/expressjs/session): @ulisesGascon175- [`expressjs/statusboard`](https://github.com/expressjs/statusboard): @wesleytodd176- [`expressjs/timeout`](https://github.com/expressjs/timeout): @ulisesGascon177- [`expressjs/vhost`](https://github.com/expressjs/vhost): @ulisesGascon178- [`jshttp/accepts`](https://github.com/jshttp/accepts): @blakeembrey179- [`jshttp/basic-auth`](https://github.com/jshttp/basic-auth): @blakeembrey180- [`jshttp/compressible`](https://github.com/jshttp/compressible): @blakeembrey181- [`jshttp/content-disposition`](https://github.com/jshttp/content-disposition): @blakeembrey182- [`jshttp/content-type`](https://github.com/jshttp/content-type): @blakeembrey183- [`jshttp/cookie`](https://github.com/jshttp/cookie): @blakeembrey184- [`jshttp/etag`](https://github.com/jshttp/etag): @blakeembrey185- [`jshttp/forwarded`](https://github.com/jshttp/forwarded): @blakeembrey186- [`jshttp/fresh`](https://github.com/jshttp/fresh): @blakeembrey187- [`jshttp/http-assert`](https://github.com/jshttp/http-assert): @wesleytodd, @jonchurch, @ulisesGascon188- [`jshttp/http-errors`](https://github.com/jshttp/http-errors): @wesleytodd, @jonchurch, @ulisesGascon189- [`jshttp/media-typer`](https://github.com/jshttp/media-typer): @blakeembrey190- [`jshttp/methods`](https://github.com/jshttp/methods): @blakeembrey191- [`jshttp/mime-db`](https://github.com/jshttp/mime-db): @blakeembrey, @UlisesGascon192- [`jshttp/mime-types`](https://github.com/jshttp/mime-types): @blakeembrey, @UlisesGascon193- [`jshttp/negotiator`](https://github.com/jshttp/negotiator): @blakeembrey194- [`jshttp/on-finished`](https://github.com/jshttp/on-finished): @wesleytodd, @ulisesGascon195- [`jshttp/on-headers`](https://github.com/jshttp/on-headers): @blakeembrey196- [`jshttp/proxy-addr`](https://github.com/jshttp/proxy-addr): @wesleytodd, @ulisesGascon197- [`jshttp/range-parser`](https://github.com/jshttp/range-parser): @blakeembrey198- [`jshttp/statuses`](https://github.com/jshttp/statuses): @blakeembrey199- [`jshttp/type-is`](https://github.com/jshttp/type-is): @blakeembrey200- [`jshttp/vary`](https://github.com/jshttp/vary): @blakeembrey201- [`pillarjs/cookies`](https://github.com/pillarjs/cookies): @blakeembrey202- [`pillarjs/csrf`](https://github.com/pillarjs/csrf): @ulisesGascon203- [`pillarjs/encodeurl`](https://github.com/pillarjs/encodeurl): @blakeembrey204- [`pillarjs/finalhandler`](https://github.com/pillarjs/finalhandler): @wesleytodd, @ulisesGascon205- [`pillarjs/hbs`](https://github.com/pillarjs/hbs): @ulisesGascon206- [`pillarjs/multiparty`](https://github.com/pillarjs/multiparty): @blakeembrey207- [`pillarjs/parseurl`](https://github.com/pillarjs/parseurl): @blakeembrey208- [`pillarjs/path-to-regexp`](https://github.com/pillarjs/path-to-regexp): @blakeembrey209- [`pillarjs/request`](https://github.com/pillarjs/request): @wesleytodd210- [`pillarjs/resolve-path`](https://github.com/pillarjs/resolve-path): @blakeembrey211- [`pillarjs/router`](https://github.com/pillarjs/router): @wesleytodd, @ulisesGascon212- [`pillarjs/send`](https://github.com/pillarjs/send): @blakeembrey213- [`pillarjs/understanding-csrf`](https://github.com/pillarjs/understanding-csrf): @ulisesGascon214215### Current Initiative Captains216217- Triage team [ref](https://github.com/expressjs/discussions/issues/227): @UlisesGascon218219## Developer's Certificate of Origin 1.1220221```text222By making a contribution to this project, I certify that:223224 (a) The contribution was created in whole or in part by me and I225 have the right to submit it under the open source license226 indicated in the file; or227228 (b) The contribution is based upon previous work that, to the best229 of my knowledge, is covered under an appropriate open source230 license and I have the right under that license to submit that231 work with modifications, whether created in whole or in part232 by me, under the same open source license (unless I am233 permitted to submit under a different license), as indicated234 in the file; or235236 (c) The contribution was provided directly to me by some other237 person who certified (a), (b) or (c) and I have not modified238 it.239240 (d) I understand and agree that this project and the contribution241 are public and that a record of the contribution (including all242 personal information I submit with it, including my sign-off) is243 maintained indefinitely and may be redistributed consistent with244 this project or the open source license(s) involved.245```
deleted:Readme-Guide.md-125 removed
1# README guidelines23Every module in the expressjs, pillarjs, and jshttp organizations should have4a README file named `README.md`. The purpose of the README is to:56- Explain the purpose of the module and how to use it.7- Act as a landing page (both on GitHub and npmjs.com) for the module to help8 people find it via search. Middleware module READMEs are also incorporated9 into https://expressjs.com/en/resources/middleware.html.10- Encourage community contributions and participation.1112Use the [README template](https://github.com/expressjs/express/wiki/README-template)13to quickly create a new README file.1415## Top-level items1617**Badges** (optional): At the very top (with no subheading), include any18applicable badges, such as npm version/downloads, build status, test coverage,19and so on. Badges should resolve properly (not display a broken image).2021Possible badges include:22- npm version: `[![NPM Version][npm-image]][npm-url]`23- npm downloads: `[![NPM Downloads][downloads-image]][downloads-url]`24- Build status: `[![Build Status][travis-image]][travis-url]`25- Test coverage: `[![Test Coverage][coveralls-image]][coveralls-url]`26- Tips: `[![Gratipay][gratipay-image]][gratipay-url]`2728**Summary**: Following badges, provide a one- or two-sentence description of29what the module does. This should be the same as the npmjs.org blurb (which30comes from the description property of `package.json`). Since npm doesn't31handle markdown for the blurb, avoid using markdown in the summary sentence.3233**TOC** (Optional): For longer READMEs, provide a table of contents that has34a relative link to each section. A tool such as35[doctoc](https://www.npmjs.com/package/doctoc) makes it very easy to generate36a TOC.3738## Overview3940Optionally, include a section of one or two paragraphs with more high-level41information on what the module does, what problems it solves, why one would42use it and how. Don't just repeat what's in the summary.4344## Installation4546Required. This section is typically just:4748```sh49$ npm install module-name50```5152But include any other steps or requirements.5354NOTE: Use the `sh` code block to make the shell command display properly on55the website.5657## Basic use5859- Provide a general description of how to use the module with code sample.60 Include any important caveats or restrictions.61- Explain the most common use cases.62- Optional: a simple "hello world" type example (where applicable). This63 example is in addition to the more comprehensive [example section](#examples)64 later.6566## API6768Provide complete API documentation.6970Formatting conventions: Each function is listed in a 3rd-level heading (`###`),71like this:7273```74### Function_name(arg, options [, optional_arg] ... )75```7677**Options objects**7879For arguments that are objects (for example, options object), describe the80properties in a table, as follows. This matches the formatting used in the81[Express API docs](https://expressjs.com/en/4x/api.html).8283|Property | Description | Type | Default|84|----------|-----------|------------|-------------|85|Name of the property in `monospace`. | Brief description | String, Number, Boolean, etc. | If applicable.|8687If all the properties are required (i.e. there are no defaults), then you88can omit the default column.8990Instead of very lengthy descriptions, link out to subsequent paragraphs for91more detailed explanation of specific cases (e.g. "When this property is set92to 'foobar', xyz happens; see <link to following section >.)9394If there are options properties that are themselves options, use additional95tables. See [`trust proxy` and `etag` properties](https://expressjs.com/en/4x/api.html#app.settings.table).9697## Examples9899Every README should have at least one example; ideally more. For code samples,100be sure to use the `js` code block, for proper display in the website, e.g.:101102```js103var csurf = require('csurf')104...105```106107## Tests108109What tests are included.110111How to run them.112113The convention for running tests is `npm test`. All our projects should follow114this convention.115116## Contributors117118Names of module "owners" (lead developers) and other developers who have119contributed.120121## License122123Link to the license, with a short description of what it is, e.g. "MIT" or124whatever. Ideally, avoid putting the license text directly in the README; link125to it instead.
modified:Readme.md+24 added-18 removed
4 unmodified lines
5**This project has a [Code of Conduct][].**67## Table of contents89* [Installation](#Installation)10* [Features](#Features)11* [Docs & Community](#docs--community)12* [Quick Start](#Quick-Start)13* [Running Tests](#Running-Tests)14* [Philosophy](#Philosophy)15* [Examples](#Examples)16* [Contributing to Express](#Contributing)17* [TC (Technical Committee)](#tc-technical-committee)18* [Triagers](#triagers)19* [License](#license)9- [Table of contents](#table-of-contents)10- [Installation](#installation)11- [Features](#features)12- [Docs \& Community](#docs--community)13- [Quick Start](#quick-start)14- [Philosophy](#philosophy)15- [Examples](#examples)16- [Contributing](#contributing)17 - [Security Issues](#security-issues)18 - [Running Tests](#running-tests)19- [Current project team members](#current-project-team-members)20 - [TC (Technical Committee)](#tc-technical-committee)21 - [TC emeriti members](#tc-emeriti-members)22 - [Triagers](#triagers)23 - [Emeritus Triagers](#emeritus-triagers)24- [License](#license)252627[![NPM Version][npm-version-image]][npm-url]28[![NPM Downloads][npm-downloads-image]][npm-downloads-url]29[![Linux Build][github-actions-ci-image]][github-actions-ci-url]30[![Test Coverage][coveralls-image]][coveralls-url]31[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]323334```js
108 unmodified lines
143```144145## Contributing146140 [![Linux Build][github-actions-ci-image]][github-actions-ci-url]141 [![Test Coverage][coveralls-image]][coveralls-url]142147The Express.js project welcomes all constructive contributions. Contributions take many forms,148from code for bug fixes and enhancements, to additions and fixes to documentation, additional149tests, triaging incoming pull requests and issues, and more!150147See the [Contributing Guide](Contributing.md) for more technical details on contributing.151See the [Contributing Guide](https://github.com/expressjs/.github/blob/HEAD/CONTRIBUTING.yml) for more technical details on contributing.152153### Security Issues154151If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).155If you discover a security vulnerability in Express, please see [Security Policies and Procedures](SECURITY.md).156157### Running Tests158159To run the test suite, first install the dependencies:
7 unmodified lines
167```bash168npm test169```170167## People171## Current project team members172173For information about the governance of the express.js project, see [GOVERNANCE.md](https://github.com/expressjs/discussions/blob/HEAD/docs/GOVERNANCE.md).174175The original author of Express is [TJ Holowaychuk](https://github.com/tj)176177[List of all contributors](https://github.com/expressjs/express/graphs/contributors)178
71 unmodified lines
250 * [import-brain](https://github.com/import-brain) - **Eric Cheng** (he/him)251 * [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)252 * [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**253 * [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**248 254255</details>256257258## License
14 unmodified lines
deleted:Release-Process.md-202 removed
1# Express Release Process23This document contains the technical aspects of the Express release process. The4intended audience is those who have been authorized by the Express Technical5Committee (TC) to create, promote and sign official release builds for Express,6as npm packages hosted on https://npmjs.com/package/express.78## Who can make releases?910Release authorization is given by the Express TC. Once authorized, an individual11must have the following access permissions:1213### 1. Github release access1415The individual making the release will need to be a member of the16expressjs/express team with Write permission level so they are able to tag the17release commit and push changes to the expressjs/express repository18(see Steps 4 and 5).1920### 2. npmjs.com release access2122The individual making the release will need to be made an owner on the23`express` package on npmjs.com so they are able to publish the release24(see Step 6).2526## How to publish a release2728Before publishing, the following preconditions should be met:2930- A release proposal issue or tracking pull request (see "Proposal branch"31 below) will exist documenting:32 - the proposed changes33 - the type of release: patch, minor or major34 - the version number (according to semantic versioning - https://semver.org)35- The proposed changes should be complete.3637There are two main release flows: patch and non-patch.3839The patch flow is for making **patch releases**. As per semantic versioning,40patch releases are for simple changes, eg: typo fixes, patch dependency updates,41and simple/low-risk bug fixes. Every other type of change is made via the42non-patch flow.4344### Branch terminology4546"Master branch"4748- There is a branch in git used for the current major version of Express, named49 `master`.50- This branch contains the completed commits for the next patch release of the51 current major version.52- Releases for the current major version are published from this branch.5354"Version branch"5556- For any given major version of Express (current, previous or next) there is57 a branch in git for that release named `<major-version>.x` (eg: `4.x`).58- This branch points to the commit of the latest tag for the given major version.5960"Release branch"6162- For any given major version of Express, there is a branch used for publishing63 releases.64- For the current major version of Express, the release branch is the65 "Master branch" named `master`.66- For all other major versions of Express, the release branch is the67 "Version branch" named `<major-version>.x`.6869"Proposal branch"7071- A branch in git representing a proposed new release of Express. This can be a72 minor or major release, named `<major-version>.0` for a major release,73 `<major-version>.<minor-version>` for a minor release.74- A tracking pull request should exist to document the proposed release,75 targeted at the appropriate release branch. Prior to opening the tracking76 pull request the content of the release may have be discussed in an issue.77- This branch contains the commits accepted so far that implement the proposal78 in the tracking pull request.7980### Pre-release Versions8182Alpha and Beta releases are made from a proposal branch. The version number should be83incremented to the next minor version with a `-beta` or `-alpha` suffix.84For example, if the next beta release is `5.0.1`, the beta release would be `5.0.1-beta.0`.85The pre-releases are unstable and not suitable for production use.8687### Patch flow8889In the patch flow, simple changes are committed to the release branch which90acts as an ever-present branch for the next patch release of the associated91major version of Express.9293The release branch is usually kept in a state where it is ready to release.94Releases are made when sufficient time or change has been made to warrant it.95This is usually proposed and decided using a github issue.9697### Non-patch flow9899In the non-patch flow, changes are committed to a temporary proposal branch100created specifically for that release proposal. The branch is based on the101most recent release of the major version of Express that the release targets.102103Releases are made when all the changes on a proposal branch are complete and104approved. This is done by merging the proposal branch into the release branch105(using a fast-forward merge), tagging it with the new version number and106publishing the release package to npmjs.com.107108### Flow109110Below is a detailed description of the steps to publish a release.111112#### Step 1. Check the release is ready to publish113114Check any relevant information to ensure the release is ready, eg: any115milestone, label, issue or tracking pull request for the release. The release116is ready when all proposed code, tests and documentation updates are complete117(either merged, closed or re-targeted to another release).118119#### Step 2. (Non-patch flow only) Merge the proposal branch into the release branch120121In the patch flow: skip this step.122123In the non-patch flow:124```sh125$ git checkout <release-branch>126$ git merge --ff-only <proposal-branch>127```128129<release-branch> - see "Release branch" of "Branches" above.130<proposal-branch> - see "Proposal branch" of "Non-patch flow" above.131132> [!NOTE]133> You may need to rebase the proposal branch to allow a fast-forward134> merge. Using a fast-forward merge keeps the history clean as it does135> not introduce merge commits.136137### Step 3. Update the History.md and package.json to the new version number138139The changes so far for the release should already be documented under the140"unreleased" section at the top of the History.md file, as per the usual141development practice. Change "unreleased" to the new release version / date.142Example diff fragment:143144```diff145-unreleased146-==========147+4.13.3 / 2015-08-02148+===================149```150151The version property in the package.json should already contain the version of152the previous release. Change it to the new release version.153154Commit these changes together under a single commit with the message set to155the new release version (eg: `4.13.3`):156157```sh158$ git checkout <release-branch>159<..edit files..>160$ git add History.md package.json161$ git commit -m '<version-number>'162```163164### Step 4. Identify and tag the release commit with the new release version165166Create a lightweight tag (rather than an annotated tag) named after the new167release version (eg: `4.13.3`).168169```sh170$ git tag <version-number>171```172173### Step 5. Push the release branch changes and tag to github174175The branch and tag should be pushed directly to the main repository176(https://github.com/expressjs/express).177178```sh179$ git push origin <release-branch>180$ git push origin <version-number>181```182183### Step 6. Publish to npmjs.com184185Ensure your local working copy is completely clean (no extra or changed files).186You can use `git status` for this purpose.187188```sh189$ npm login <npm-username>190$ npm publish191```192193> [!NOTE]194> The version number to publish will be picked up automatically from 195> package.json.196 197### Step 7. Update documentation website198199The documentation website https://expressjs.com/ documents the current release version in various places. To update these, follow these steps:2002011. Manually run the [`Update External Docs` workflow](https://github.com/expressjs/expressjs.com/actions/workflows/update-external-docs.yml) in expressjs.com repository.2022. Add a new section to the [changelog](https://github.com/expressjs/expressjs.com/blob/gh-pages/en/changelog/index.md) in the expressjs.com website.
deleted:Security.md-56 removed
added:SECURITY.md+56 added
deleted:Triager-Guide.md-72 removed