Skip to content

Commit

Permalink
Completely removed commit info code
Browse files Browse the repository at this point in the history
  • Loading branch information
molangning committed Nov 27, 2023
1 parent 4a1825c commit d9c7c01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions .bin/get-and-patch-readme-repository-details.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

REPOSITORY_API="https://api.github.com/repos/%s"
REPOSITORY="danielmiessler/SecLists"
REPOSITORY_COMMITS_API="https://api.github.com/repos/%s/commits"
REPOSITORY_COMMIT_URL="https://github.com/%s/commit/%s"
DETAILS_ANCHOR="<!--- details anchor -->"
DETAILS_ANCHOR_REGEX=r"%s.*?%s"%(DETAILS_ANCHOR,DETAILS_ANCHOR)
COMMIT_MESSAGE="[Github Action] Automated readme update."
Expand All @@ -21,8 +19,7 @@
Cloning this repository should take %i-%i minutes at 5MB/s speeds.
%s
"""
%s"""

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

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

REPOSITORY_COMMIT_URL=REPOSITORY_COMMIT_URL%(REPOSITORY,commit_hash)
DETAIL_USER_NOTICE_STRING=DETAIL_USER_NOTICE_STRING%(DETAILS_ANCHOR,final_size,eta_lower_bound,eta_upper_bound,DETAILS_ANCHOR)

readme_contents=open("README.md").read()
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ This project is maintained by [Daniel Miessler](https://danielmiessler.com/), [J

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

Latest [commit](https://github.com/danielmiessler/SecLists/commit/3da34d777ebcf45ca9ac15e76c953e83950c52a5) was made on 2023-11-24 by Mo Langning

Cloning this repository should take 3-4 minutes at 5MB/s speeds.

<!--- details anchor -->


- - -

### Install
Expand Down

0 comments on commit d9c7c01

Please sign in to comment.