[Bug 2360489] Review Request: anubis - Weighs the soul of incoming HTTP requests using proof-of-work to stop AI crawlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2360489

Jiří Kyjovský <jkyjovsk@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jkyjovsk@xxxxxxxxxx



--- Comment #7 from Jiří Kyjovský <jkyjovsk@xxxxxxxxxx> ---
I created copr repo with the latest updates that contains blockers for anubis:
https://copr.fedorainfracloud.org/coprs/nikromen/anubis-test/packages/

the postcss-cli contains a wrapper that sets NODE_PATH correctly to fix the
"Not found cssnano" issue

```
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{name}
cp -pr package.json index.js lib/ %{buildroot}%{nodejs_sitelib}/%{name}/
# Copy over bundled nodejs modules
cp -pr node_modules node_modules_prod %{buildroot}%{nodejs_sitelib}/%{name}/

mkdir -p %{buildroot}%{_bindir}
# wrapper script for postcss CLI to set NODE_PATH
cat << 'EOF' > %{buildroot}%{_bindir}/postcss
#!/bin/sh
# Set NODE_PATH to the system-wide node_modules directory
export NODE_PATH=%{nodejs_sitelib}
# Execute the actual postcss script, passing all arguments
exec %{nodejs_sitelib}/%{name}/index.js "$@"
EOF

# Make the wrapper script executable
chmod +x %{buildroot}%{_bindir}/postcss

%check
%{buildroot}%{nodejs_sitelib}/%{name}/index.js --help
```

and it also contains the preset-advanced for cssnano which is under review
https://bugzilla.redhat.com/show_bug.cgi?id=2387591

and the anubis builds with these fixes (and with the correct
xess/postcss.config.js), so hopefully these will unblock it.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2360489

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202360489%23c7

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux