pgblitz / pgshield Goto Github PK
View Code? Open in Web Editor NEWVisit the PG Repos @ https://github.com/PGBlitz - PG Shield (Protects Docker Containers)
Home Page: https://pgblitz.com
License: GNU General Public License v3.0
Visit the PG Repos @ https://github.com/PGBlitz - PG Shield (Protects Docker Containers)
Home Page: https://pgblitz.com
License: GNU General Public License v3.0
Was looking to exempt home-assistant from community apps, and it seems like there is no way to exempt community apps in the script.
phase31 which is where the list is formed in pgshield.sh also has a comment about listing apps that are not installed (why would they be up for exemption? .. is this a old comment? or does the code do the wrong thing.
They way the appexempt() function currently runs is to call _appgen.sh for each set of apps. However _appgen.sh overwrites the output file with the current pipeline. Line 98 executes and outputs a list of Core apps to the app.list file, then Line 99 executes and overwrites the file again such that single core apps can't be chosen.
I modified the _appgen.sh files to output to stdout rather than a file and changed the appexempt() function to pipe that output to file and sort as a fix. However that required forking 3 repos.
Read more here: https://pgblitz.com/threads/exempt-ombi-from-pgshield.4904/post-31586
Line 98 in c2b3a6c
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.