Skip to content

Commit

Permalink
Remove dead plugin - luixxiul/dont-log-crawlers
Browse files Browse the repository at this point in the history
  • Loading branch information
guessi committed Jan 4, 2025
1 parent 6e70c6f commit 8d7ef76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ ADD https://github.com/guessi/yourls-mobile-detect/archive/refs/tags/3.0.0.tar.g
/opt/mobile-detect.tar.gz
ADD https://github.com/YOURLS/dont-log-bots/archive/master.tar.gz \
/opt/dont-log-bots.tar.gz
ADD https://github.com/luixxiul/dont-log-crawlers/archive/master.tar.gz \
/opt/dont-log-crawlers.tar.gz
ADD https://github.com/guessi/yourls-dont-log-health-checker/archive/master.tar.gz \
/opt/dont-log-health-checker.tar.gz

Expand All @@ -72,12 +70,6 @@ RUN rm -rf user/config-sample.php \
user/plugins/sample* && \
(find . -type d -name ".git" -exec rm -rf {} +)

# patch for dont-log-crawlers
# - https://github.com/guessi/docker-yourls/issues/6
# - https://github.com/luixxiul/dont-log-crawlers/issues/13
# - https://github.com/luixxiul/dont-log-crawlers/blob/master/plugin.php#L283-L297
RUN sed -i -e '/Blacklisted CIDRs from the DB/s/null/array()/' user/plugins/dont-log-crawlers/plugin.php

FROM yourls as noadmin

Check warning on line 73 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# security enhancement: leave only production required items
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ As time goes by, please take this project as a quick start guide for YOURLS and
* [force-lowercase](https://github.com/YOURLS/force-lowercase)
* [mobile-detect](https://github.com/guessi/yourls-mobile-detect)
* [dont-log-bots](https://github.com/YOURLS/dont-log-bots)
* [dont-log-crawler](https://github.com/luixxiul/dont-log-crawlers)
* [dont-log-health-checker](https://github.com/guessi/yourls-dont-log-health-checker)


Expand Down

0 comments on commit 8d7ef76

Please sign in to comment.