-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduction of PyFunceble v4.1.0 (Blue Duckling: Ixora)!
Fixed: * Fatal error when a DNS Name longer that 255 octets is given. * URL with scheme and port are no longer `INVALID`. * Encoding format of CSV. We now enforce UTF-8. (#291) * Restrict `python-box` version. (#294) New: * The abilitiy to use proxies. (#132) This include the usage of `socks5` for `.onion` test. * The `--max-http-retries` argument and logic. * The `--*-lookup-only` argument and logic. (#276) * The `--chancy-test` mode. It is a mode that break the multiprocessing safety in place to use the full potential of the machine. **WARNING**: This is dangerous. Use at your own risk. * When testing URL we now do a DNS lookup first. * The DNS Lookup Tool has a max depth of 60. This avoid infinite loop. * Domain registrars are now extracted from the WHOIS record and provided as part of the output datasets. (#272) * It is now possible to display the Top N registrar. (#272) * Multiprocessing-Safe HTTP/HTTPS requests. * SPECIAL rules: - *.dr.ag - * Workaround Y2K28 - until database vendors fix it. * A way to automate CLI demos. Improvement: * IPv6 format of DNS server was improved to accept brackets. * Regex of the WHOIS "decoder" are now case insensitive. * The way workers/processes are spawned and started. It is now possible to differ the startup of a process to a time in the future. * We now run against the inactive and autocontinue dataset when it is really necessary. * Our "self-healing" method to avoid false positive is now stronger. (#282) * The syntax checker does not only follow RFCs, it now tries to accept real world practices. (#282) * Documentation (thanks to @spirillen). Maintenance: * Deployment of AUR packages is now safer. * Added missing documentation of SPECIAL rules. * Fix typo. * It's 2022. Contributors: * @avatartw * @cdgriffith * @mitchellkrogza * @ryanbr * @spirillen * @veracioux
- Loading branch information
Showing
338 changed files
with
3,373 additions
and
639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -359,13 +359,8 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
curl -LO "https://repo.archlinuxcn.org/x86_64/${patched_glibc}" && \ | ||
bsdtar -C / -xvf "$patched_glibc" && \ | ||
rm ${patched_glibc} && \ | ||
pacman -Syu --needed --noconfirm && \ | ||
pacman -S --needed --noconfirm git binutils pacman-contrib openssh rsync python python-setuptools | ||
env: | ||
patched_glibc: glibc-linux4-2.33-4-x86_64.pkg.tar.zst | ||
pacman -S --needed --noconfirm git binutils pacman-contrib openssh rsync python python-setuptools jq | ||
- uses: actions/checkout@v2 | ||
name: Clone repository | ||
|
@@ -380,6 +375,15 @@ jobs: | |
latest=$(python3 setup.py --version) | ||
if [[ $(python3 setup.py --name) == "PyFunceble-dev" ]] | ||
then | ||
licenseURL="https://raw.githubusercontent.com/funilrys/PyFunceble/dev/LICENSE" | ||
newURL=$(curl -s https://pypi.org/pypi/PyFunceble-dev/json | jq -r ".releases.\"${latest}\"[] | select(.filename | strings | test(\".tar\")).url") | ||
else | ||
licenseURL="https://raw.githubusercontent.com/funilrys/PyFunceble/master/LICENSE" | ||
newURL=$(curl -s https://pypi.org/pypi/PyFunceble/json | jq -r ".releases.\"${latest}\"[] | select(.filename | strings | test(\".tar\")).url") | ||
fi | ||
git config --global user.name ${{ github.actor }} | ||
git config --global user.email ${{ secrets.GIT_EMAIL }} | ||
git clone ssh://[email protected]/pyfunceble-dev.git ${aurRepoDir} | ||
|
@@ -398,6 +402,7 @@ jobs: | |
sed "/^pkgver=/s/.*/pkgver=${latest}/" -i PKGBUILD | ||
sed "/^pkgrel=/s/.*/pkgrel=1/" -i PKGBUILD | ||
sed "s,^source=(.*),source=('${newURL}' '${licenseURL}')," -i PKGBUILD | ||
su makepkg -c "updpkgsums" | ||
su makepkg -c "makepkg --printsrcinfo" > .SRCINFO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -269,9 +269,8 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
mkdir -p /var/lib/pacman/ | ||
pacman -Syu --noconfirm | ||
pacman -S --needed --noconfirm git binutils pacman-contrib openssh rsync python python-setuptools | ||
pacman -Syu --needed --noconfirm && \ | ||
pacman -S --needed --noconfirm git binutils pacman-contrib openssh rsync python python-setuptools jq | ||
- uses: actions/checkout@v2 | ||
name: Clone repository | ||
|
@@ -286,6 +285,15 @@ jobs: | |
latest=$(python3 setup.py --version) | ||
if [[ $(python3 setup.py --name) == "PyFunceble-dev" ]] | ||
then | ||
licenseURL="https://raw.githubusercontent.com/funilrys/PyFunceble/dev/LICENSE" | ||
newURL=$(curl -s https://pypi.org/pypi/PyFunceble-dev/json | jq -r ".releases.\"${latest}\"[] | select(.filename | strings | test(\".tar\")).url") | ||
else | ||
licenseURL="https://raw.githubusercontent.com/funilrys/PyFunceble/master/LICENSE" | ||
newURL=$(curl -s https://pypi.org/pypi/PyFunceble/json | jq -r ".releases.\"${latest}\"[] | select(.filename | strings | test(\".tar\")).url") | ||
fi | ||
git config --global user.name ${{ github.actor }} | ||
git config --global user.email ${{ secrets.GIT_EMAIL }} | ||
git clone ssh://[email protected]/pyfunceble.git ${aurRepoDir} | ||
|
@@ -299,13 +307,12 @@ jobs: | |
echo "Previous version: ${current}" | ||
echo "New version: ${latest}" | ||
[[ "${current}" == "${latest}" ]] && exit 0 | ||
useradd makepkg | ||
chown makepkg:root . -R | ||
sed "/^pkgver=/s/.*/pkgver=${latest}/" -i PKGBUILD | ||
sed "/^pkgrel=/s/.*/pkgrel=1/" -i PKGBUILD | ||
sed "s,^source=(.*),source=('${newURL}' '${licenseURL}')," -i PKGBUILD | ||
su makepkg -c "updpkgsums" | ||
su makepkg -c "makepkg --printsrcinfo" > .SRCINFO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.