Skip to content

Commit d587ffa

Browse files
Initial commit
0 parents  commit d587ffa

File tree

17 files changed

+960
-0
lines changed

17 files changed

+960
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @suryavaddiraju

.github/CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
https://dev.vaddiraju.in/contact.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

.github/CONTRIBUTING.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Contribution Guidelines
2+
3+
Before opening any issues or proposing any pull requests, please read
4+
our [Contributor's Guide](https://dev.vaddiraju.in/irctc-api/contribution).
5+
6+
To get the greatest chance of helpful responses, please also observe the
7+
following additional notes.
8+
9+
## Questions
10+
11+
The GitHub issue tracker is for *bug reports* and *feature requests*. Please do
12+
not use it to ask questions about how to use @aws-sdk/{repoName}. These questions should
13+
instead be directed to [Stack Overflow](https://stackoverflow.com/). Make sure
14+
that your question is tagged with the `javascript & api & aws-sdk` tag when asking it on
15+
Stack Overflow, to ensure that it is answered promptly and accurately.
16+
17+
## Good Bug Reports
18+
19+
Please be aware of the following things when filing bug reports:
20+
21+
1. Avoid raising duplicate issues. *Please* use the GitHub issue search feature
22+
to check whether your bug report or feature request has been mentioned in
23+
the past. Duplicate bug reports and feature requests are a huge maintenance
24+
burden on the limited resources of the project. If it is clear from your
25+
report that you would have struggled to find the original, that's ok, but
26+
if searching for a selection of words in your issue title would have found
27+
the duplicate then the issue will likely be closed extremely abruptly.
28+
2. When filing bug reports about exceptions or tracebacks, please include the
29+
*complete* traceback. Partial tracebacks, or just the exception text, are
30+
not helpful. Issues that do not contain complete tracebacks may be closed
31+
without warning.
32+
3. Make sure you provide a suitable amount of information to work with. This
33+
means you should provide:
34+
35+
- Guidance on **how to reproduce the issue**. Ideally, this should be a
36+
*small* code sample that can be run immediately by the maintainers.
37+
Failing that, let us know what you're doing, how often it happens, what
38+
environment you're using, etc. Be thorough: it prevents us needing to ask
39+
further questions.
40+
- Tell us **what you expected to happen**. When we run your example code,
41+
what are we expecting to happen? What does "success" look like for your
42+
code?
43+
- Tell us **what actually happens**. It's not helpful for you to say "it
44+
doesn't work" or "it fails". Tell us *how* it fails: do you get an
45+
exception? A hang? A non-200 status code? How was the actual result
46+
different from your expected result?
47+
- Tell us **what version of Requests you're using**, and
48+
**how you installed it**. Different versions of Requests behave
49+
differently and have different bugs, and some distributors of Requests
50+
ship patches on top of the code we supply.
51+
52+
If you do not provide all of these things, it will take us much longer to
53+
fix your problem. If we ask you to clarify these and you never respond, we
54+
will close your issue without fixing it.

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [suryavaddiraju]

.github/SECURITY.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Security Policy
2+
3+
This sections helps users how to report security issues privately.
4+
5+
## Supported Versions
6+
7+
versions of the project that are currently being supported with security updates.
8+
9+
| Version | Supported |
10+
| ------- | ------------------ |
11+
| 3.x.x | :white_check_mark: |
12+
| 2.0.x | :x: |
13+
| 1.0.x | :x: |
14+
15+
## Vulnerability Disclosure
16+
17+
If you think you have found a potential security vulnerability in
18+
requests, please email [Vaddiraju Surya Teja](mailto:suryavaddiraju@proton.me)
19+
and [Vaddiraju Rama Narasimha](mailto:vaddiraju.ramanarasimha@gmail.com) directly.
20+
21+
**Do not file a public issue.**
22+
23+
Our PGP Key fingerprints are:
24+
- ASAt 7xmp EQhK boIl zSb0 D9Fa n15c 1U9S wN4lb sVEVN HH3go ([suryavaddiraju](https://keybase.io/suryavaddiraju))
25+
26+
You can also contact us on [Keybase](https://keybase.io) with the
27+
profiles above if desired.
28+
29+
If English is not your first language, please try to describe the
30+
problem and its impact to the best of your ability. For greater detail,
31+
please use your native language and we will try our best to translate it
32+
using online services.
33+
34+
Please also include the code you used to find the problem and the
35+
shortest amount of code necessary to reproduce it.
36+
37+
Please do not disclose this to anyone else. We will retrieve a CVE
38+
identifier if necessary and give you full credit under whatever name or
39+
alias you provide. We will only request an identifier when we have a fix
40+
and can publish it in a release.
41+
42+
We will respect your privacy and will only publicize your involvement if
43+
you grant us permission.
44+
45+
## Process
46+
47+
This following information discusses the process the requests project
48+
follows in response to vulnerability disclosures. If you are disclosing
49+
a vulnerability, this section of the documentation lets you know how we
50+
will respond to your disclosure.
51+
52+
### Timeline
53+
54+
When you report an issue, one of the project members will respond to you
55+
within two days *at the outside*. In most cases responses will be
56+
faster, usually within 12 hours. This initial response will at the very
57+
least confirm receipt of the report.
58+
59+
If we were able to rapidly reproduce the issue, the initial response
60+
will also contain confirmation of the issue. If we are not, we will
61+
often ask for more information about the reproduction scenario.
62+
63+
Our goal is to have a fix for any vulnerability released within two
64+
weeks of the initial disclosure. This may potentially involve shipping
65+
an interim release that simply disables function while a more mature fix
66+
can be prepared, but will in the vast majority of cases mean shipping a
67+
complete release as soon as possible.
68+
69+
Throughout the fix process we will keep you up to speed with how the fix
70+
is progressing. Once the fix is prepared, we will notify you that we
71+
believe we have a fix. Often we will ask you to confirm the fix resolves
72+
the problem in your environment, especially if we are not confident of
73+
our reproduction scenario.
74+
75+
At this point, we will prepare for the release. We will obtain a CVE
76+
number if one is required, providing you with full credit for the
77+
discovery. We will also decide on a planned release date, and let you
78+
know when it is. This release date will *always* be on a weekday.
79+
80+
At this point we will reach out to our major downstream packagers to
81+
notify them of an impending security-related patch so they can make
82+
arrangements. In addition, these packagers will be provided with the
83+
intended patch ahead of time, to ensure that they are able to promptly
84+
release their downstream packages. Currently the list of people we
85+
actively contact *ahead of a public release* is:
86+
87+
- Vaddiraju Surya Teja, Node (@suryavaddiraju)
88+
89+
We will notify these individuals at least a week ahead of our planned
90+
release date to ensure that they have sufficient time to prepare. If you
91+
believe you should be on this list, please let one of the maintainers
92+
know at one of the email addresses at the top of this article.
93+
94+
On release day, we will push the patch to our public repository, along
95+
with an updated changelog that describes the issue and credits you. We
96+
will then issue a npm release containing the patch.
97+
98+
At this point, we will publicise the release. This will involve mails to
99+
mailing lists, Tweets, and all other communication mechanisms available
100+
to the core team.
101+
102+
We will also explicitly mention which commits contain the fix to make it
103+
easier for other distributors and users to easily patch their own
104+
versions of requests if upgrading is not an option.

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create jsdeliver index.min.mjs script
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
permissions:
8+
contents: write
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 'lts/*'
14+
- name: Run Node.JS Script
15+
run: node setup.mjs
16+
env:
17+
GPG_KEY: ${{ secrets.GPG_KEY }}
18+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
19+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)