anynhk12
938e03b9f3
Update and rename test_validate_format.py to Facebook
pirms 1 gada
Matheus Felipe
c2bdd9e5fc
Fix false negative http code 404 in verification
Some links when they were being checked returned the http code 404,
but the links were working correctly.
This was happening because before the request the link was concatenated
with the / character at the end, making it a different link from the
original. If the original link didn't have a path that is
accessed by / at the end, it would return a 404 error.
This behavior made it a false negative.
pirms 2 gadiem
Matheus Felipe
6d4e269f12
Modify execute permission
pirms 2 gadiem
Matheus Felipe
4bc90a81cc
Add possibility to run duplicate link check only
Changes:
- It is now possible to only check for duplicate
links (without checking if the links are working)
- Check for duplicate links when a push occurs
- Update the scripts documentation accordingly
pirms 2 gadiem
Matheus Felipe
fb70084377
Create install dependencies section
pirms 2 gadiem
Matheus Felipe
1c3e4eba37
Create run validations section
pirms 2 gadiem
Matheus Felipe
08ba4e6458
Create README.md to scripts directory
pirms 2 gadiem
Matheus Felipe
ff31b266ab
Add format and links in validate scope
pirms 2 gadiem
Matheus Felipe
9bb225ef3d
Create new workflow to run test of push and pull
pirms 2 gadiem
Matheus Felipe
bc02fa517f
Create tests to check_file_format
pirms 2 gadiem
Matheus Felipe
7d9eac4920
Change sections -> columns in error message
pirms 2 gadiem
Matheus Felipe
e0468d13cb
Remove unnecessary whitespace
pirms 2 gadiem
Matheus Felipe
eeaa7c073e
Create tests to check_entry
pirms 2 gadiem
Matheus Felipe
5478755638
Test to check_auth with invalid auth with and without backtick
pirms 2 gadiem
Matheus Felipe
ad92d5c400
Remove whitespaces
pirms 2 gadiem
Matheus Felipe
89e254c141
Fix test title of check_auth
pirms 2 gadiem
Matheus Felipe
e3f51ae6c2
Fix tests of check_auth
pirms 2 gadiem
Matheus Felipe
720c2fdc8f
Fix tests of check_description
pirms 2 gadiem
Matheus Felipe
229b77a413
Fix tests of check_title
pirms 2 gadiem
Matheus Felipe
d04c02a7d9
Create tests to check_cors
pirms 2 gadiem
Matheus Felipe
347cd46036
Create tests to check_https
pirms 2 gadiem
Matheus Felipe
6ba6c4d1a6
Create tests to check_auth
pirms 2 gadiem
Matheus Felipe
0843afeda1
Create tests to check_description
pirms 2 gadiem
Matheus Felipe
9f0174fd96
Fix error message of max description length
pirms 2 gadiem
Matheus Felipe
22e22b3ce2
Create tests to check_title
pirms 2 gadiem
Matheus Felipe
b42c305464
Create tests to check_alphabetical_order
pirms 2 gadiem
Matheus Felipe
b68d653a10
Remove whitespace
pirms 2 gadiem
Matheus Felipe
9d1bd19383
Create test to get_categories_content
pirms 2 gadiem
Matheus Felipe
40c5fa7a0c
Test error message return and return type
pirms 2 gadiem
Matheus Felipe
d831102a5d
Create test case to validate format
pirms 2 gadiem
Matheus Felipe
e2482af448
Add temporary replacement of punctuation
pirms 2 gadiem
Matheus Felipe
71167b2716
Use punctuation constant built-in
pirms 2 gadiem
Matheus Felipe
f447f7c76e
Implement main function
pirms 2 gadiem
Matheus Felipe
1d421d8856
Add max_description_length constant
pirms 2 gadiem
Matheus Felipe
d200415479
Change min_entries_per_section -> min_entries_per_category
pirms 2 gadiem
Matheus Felipe
6bab1616ab
Remove index_link: unused variable
pirms 2 gadiem
Matheus Felipe
bff7f5e009
Reorganize constants
pirms 2 gadiem
Matheus Felipe
f1cbf0144a
Change title_links global to category_title_in_index local
pirms 2 gadiem
Matheus Felipe
57e288b5c9
Refactor check_alphabetical_order and check_file_format to exist return
pirms 2 gadiem
Matheus Felipe
d578ba7a32
Change line -> line_content
pirms 2 gadiem
Matheus Felipe
a935a05d6a
Change section -> category
pirms 2 gadiem
Matheus Felipe
de1b6f59d1
Check markdown file format
pirms 2 gadiem
Matheus Felipe
6bfe284191
Get categories content and check alphabetical order
pirms 2 gadiem
Matheus Felipe
2501df6b93
Create a error message generator
pirms 2 gadiem
Matheus Felipe
c659e65677
Set constants
pirms 2 gadiem
Matheus Felipe
1360d618cf
Create format.py file
pirms 2 gadiem
Matheus Felipe
f3146c9e24
Get content from index 0 if Index section does not exist
pirms 2 gadiem
Matheus Felipe
ae7ac00586
Mapped network problem (DNS failure, connection refused, etc)
pirms 2 gadiem
Matheus Felipe
a553dd5909
Mapped RequestException Exceptions
pirms 2 gadiem
Matheus Felipe
8c28be1497
Create start_* functions to start checkers
pirms 2 gadiem