Skip to content

Commit d9c7c01

Browse files
committed
Completely removed commit info code
1 parent 4a1825c commit d9c7c01

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.bin/get-and-patch-readme-repository-details.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
REPOSITORY_API="https://api.github.com/repos/%s"
1010
REPOSITORY="danielmiessler/SecLists"
11-
REPOSITORY_COMMITS_API="https://api.github.com/repos/%s/commits"
12-
REPOSITORY_COMMIT_URL="https://github.com/%s/commit/%s"
1311
DETAILS_ANCHOR="<!--- details anchor -->"
1412
DETAILS_ANCHOR_REGEX=r"%s.*?%s"%(DETAILS_ANCHOR,DETAILS_ANCHOR)
1513
COMMIT_MESSAGE="[Github Action] Automated readme update."
@@ -21,8 +19,7 @@
2119
2220
Cloning this repository should take %i-%i minutes at 5MB/s speeds.
2321
24-
%s
25-
"""
22+
%s"""
2623

2724
size=requests.get(REPOSITORY_API%(REPOSITORY)).json()['size'] # Its in kb
2825

@@ -50,7 +47,6 @@
5047
eta_lower_bound=int(str(size/5000/60).split('.')[0]) # Get whole number after decimal point
5148
eta_upper_bound=eta_lower_bound+1
5249

53-
REPOSITORY_COMMIT_URL=REPOSITORY_COMMIT_URL%(REPOSITORY,commit_hash)
5450
DETAIL_USER_NOTICE_STRING=DETAIL_USER_NOTICE_STRING%(DETAILS_ANCHOR,final_size,eta_lower_bound,eta_upper_bound,DETAILS_ANCHOR)
5551

5652
readme_contents=open("README.md").read()

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ This project is maintained by [Daniel Miessler](https://danielmiessler.com/), [J
1414

1515
Size of a complete clone of SecLists is currently at `1.05 GB`
1616

17-
Latest [commit](https://github.com/danielmiessler/SecLists/commit/3da34d777ebcf45ca9ac15e76c953e83950c52a5) was made on 2023-11-24 by Mo Langning
18-
1917
Cloning this repository should take 3-4 minutes at 5MB/s speeds.
2018

2119
<!--- details anchor -->
2220

23-
2421
- - -
2522

2623
### Install

0 commit comments

Comments
 (0)