mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-25 15:58:56 +00:00
Merge branch 'main' into main
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Reviewing pull requests
|
||||
There are a few things you'll need to look out for when reviewing pull requests for domain registrations. This list is not exhaustive and will be updated.
|
||||
|
||||
---
|
||||
|
||||
### CI errors
|
||||
A lot of minor issues will be caught in the CI checks
|
||||
@@ -9,24 +10,63 @@ A lot of minor issues will be caught in the CI checks
|
||||
|
||||
If the CI is failing, tag the user and comment on the pr.
|
||||
|
||||
---
|
||||
|
||||
### Contents of the website
|
||||
We need to make sure that the contents being hosted via the record being registered is used for malicious purposes.
|
||||
To do this, we must try our best to verify the contents of website and if required ask some questions regarding the contents in the PR.
|
||||
|
||||
---
|
||||
|
||||
### Invalid email/social link
|
||||
A way to contact the user is important in case we need to inform the users of some changes to the project.
|
||||
Confirm if the email looks valid or the social user name/link works.
|
||||
The user should have either an email or a valid social link.
|
||||
|
||||
❌ `"owner": { "username": "gh-username" }` is invalid as it doesn't contain an email or any social links
|
||||
|
||||
❌ `"email": "28372878+user-name@users.noreply.github.com"` is invalid as the email cannot be used
|
||||
|
||||
✅ `"owner": { "username": "phenax", "twitter": "twitter-username" }` is valid as it contains a social link
|
||||
|
||||
✅ `"owner": { "username": "phenax", "email": "email@gmail.com" }` is valid as it contains an email
|
||||
|
||||
---
|
||||
|
||||
### Invalid CNAME
|
||||
CNAME has to be a hostname. Something like 'example.com'.
|
||||
People tend to accidentally put a url there instead sometimes like `http://something.com` or `something.com/path`.
|
||||
Both of those are invalid.
|
||||
CNAME has to be a hostname. Something like `example.com`.
|
||||
|
||||
❌ `http://example.com` is invalid as it contains a protocol `https://`
|
||||
|
||||
❌ `example.com/some/path` is invalid as it contains the path name `/some/path`
|
||||
|
||||
✅ `example.com` is valid as it is the hostname of the website
|
||||
|
||||
---
|
||||
|
||||
### Invalid A
|
||||
A record has to be an array of ips
|
||||
A record has to be an array of ips.
|
||||
|
||||
❌ `"A": "211.211.211.211"` is invalid as it must be an array
|
||||
|
||||
❌ `"A": ["example.com"]` is invalid as it is not an ip address
|
||||
|
||||
✅ `"A": ["211.211.211.211", "211.211.211.212"]` is valid as it is an array of ips
|
||||
|
||||
---
|
||||
|
||||
### Invalid URL
|
||||
The URL must have a protocol (`http://` or `https://`) and must be something like `https://example.com` or `https://example.com/some/path`.
|
||||
|
||||
❌ `example.com` is invalid as it doesn't contain the protocol
|
||||
|
||||
✅ `https://example.com/some/path` is valid as it contains a protocol
|
||||
|
||||
---
|
||||
|
||||
### Only one record type
|
||||
Earlier, is-a-dev used to allow for handling https redirections along with CNAME but the way we handle requests has changed since then.
|
||||
This is why a record file can only contain one record type. Either `CNAME` or `A` or `URL`.
|
||||
|
||||
❌ `"CNAME": "example.com", "URL": "https://something.com"` is invalid as it should only contain one type of record, either CNAME or URL.
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"description": "Official WEBSITE OF aVNOOR gAMERZ",
|
||||
"repo": "https://github.com/Avnoor-Gamerz/avnoor-gamerz.github.io",
|
||||
"owner": {
|
||||
"username": "avnoor-gamerz",
|
||||
"email": "avnoorchahal001@gmail.com",
|
||||
"twitter": "avnoor-gamerz"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "avnoor-gamerz.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Bedant Hota's Portfolio",
|
||||
"repo": "https://github.com/bedantH/bedantH.github.io",
|
||||
"owner": {
|
||||
"username": "bedantH",
|
||||
"email": "mohanesh.h2003@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "bedantH.github.io"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "Redirection domain for my personal website",
|
||||
"repo": "https://github.com/cfanoulis/fanoulis.dev",
|
||||
"owner": {
|
||||
"username": "cfanoulis",
|
||||
"email": "domains@fanoulis.dev"
|
||||
},
|
||||
"record": {
|
||||
"URL": "https://fanoulis.dev"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "Koolwiza",
|
||||
"email": "koowliza@gmail.com"
|
||||
"email": "koolwiza@gmail.com"
|
||||
},
|
||||
"description": "Just a cool subdomain to have :)",
|
||||
"repo": "https://www.github.com/Koolwiza",
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"owner": {
|
||||
"username": "CoolCoderSJ",
|
||||
"email": "CoolCoderSJ@gmail.com"
|
||||
},
|
||||
"description": "My CDN",
|
||||
"record": {
|
||||
"CNAME": "09d836a5-eaca-4299-bfec-44ca0dfc6d0d.repl.co"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"description": "My main site :)",
|
||||
"repo": "https://replit.com/@RoBlockHead/tessais-adev",
|
||||
"owner": {
|
||||
"username": "RoBlockHead",
|
||||
"email": "tessa7551@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"CNAME": "06745170-24e7-4954-a619-2860f8b395c2.repl.co"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user