-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG | --config-dir
#389
Comments
The only way I can get the display to work is by adding this as a string to the test line OR follow "Is there a workaround?" Oh, the PYFUNCEBLE_OUTPUT_LOCATION are not obeyed either... Configured value: A third observation is, that only the last of the files set to be tested, seems to actually being tested... (Have not checked the actual contents of these result files, but the total number of lines seems to match) Actual value: Tree output
tree -af --prune output/
output
└── output/spyware.tsv
├── output/spyware.tsv/Analytic
│ ├── output/spyware.tsv/Analytic/ACTIVE
│ │ └── output/spyware.tsv/Analytic/ACTIVE/.gitkeep
│ ├── output/spyware.tsv/Analytic/.gitkeep
│ ├── output/spyware.tsv/Analytic/POTENTIALLY_ACTIVE
│ │ └── output/spyware.tsv/Analytic/POTENTIALLY_ACTIVE/.gitkeep
│ ├── output/spyware.tsv/Analytic/POTENTIALLY_INACTIVE
│ │ └── output/spyware.tsv/Analytic/POTENTIALLY_INACTIVE/.gitkeep
│ └── output/spyware.tsv/Analytic/SUSPICIOUS
│ └── output/spyware.tsv/Analytic/SUSPICIOUS/.gitkeep
├── output/spyware.tsv/domains
│ ├── output/spyware.tsv/domains/ACTIVE
│ │ └── output/spyware.tsv/domains/ACTIVE/.gitkeep
│ ├── output/spyware.tsv/domains/.gitkeep
│ ├── output/spyware.tsv/domains/INACTIVE
│ │ └── output/spyware.tsv/domains/INACTIVE/.gitkeep
│ ├── output/spyware.tsv/domains/INVALID
│ │ └── output/spyware.tsv/domains/INVALID/.gitkeep
│ ├── output/spyware.tsv/domains/MALICIOUS
│ │ └── output/spyware.tsv/domains/MALICIOUS/.gitkeep
│ ├── output/spyware.tsv/domains/SANE
│ │ └── output/spyware.tsv/domains/SANE/.gitkeep
│ └── output/spyware.tsv/domains/VALID
│ └── output/spyware.tsv/domains/VALID/.gitkeep
├── output/spyware.tsv/hosts
│ ├── output/spyware.tsv/hosts/ACTIVE
│ │ └── output/spyware.tsv/hosts/ACTIVE/.gitkeep
│ ├── output/spyware.tsv/hosts/.gitkeep
│ ├── output/spyware.tsv/hosts/INACTIVE
│ │ └── output/spyware.tsv/hosts/INACTIVE/.gitkeep
│ ├── output/spyware.tsv/hosts/INVALID
│ │ └── output/spyware.tsv/hosts/INVALID/.gitkeep
│ ├── output/spyware.tsv/hosts/MALICIOUS
│ │ └── output/spyware.tsv/hosts/MALICIOUS/.gitkeep
│ ├── output/spyware.tsv/hosts/SANE
│ │ └── output/spyware.tsv/hosts/SANE/.gitkeep
│ └── output/spyware.tsv/hosts/VALID
│ └── output/spyware.tsv/hosts/VALID/.gitkeep
├── output/spyware.tsv/ips
│ ├── output/spyware.tsv/ips/ACTIVE
│ │ └── output/spyware.tsv/ips/ACTIVE/.gitkeep
│ ├── output/spyware.tsv/ips/.gitkeep
│ ├── output/spyware.tsv/ips/INACTIVE
│ │ └── output/spyware.tsv/ips/INACTIVE/.gitkeep
│ ├── output/spyware.tsv/ips/INVALID
│ │ └── output/spyware.tsv/ips/INVALID/.gitkeep
│ ├── output/spyware.tsv/ips/MALICIOUS
│ │ └── output/spyware.tsv/ips/MALICIOUS/.gitkeep
│ ├── output/spyware.tsv/ips/SANE
│ │ └── output/spyware.tsv/ips/SANE/.gitkeep
│ └── output/spyware.tsv/ips/VALID
│ └── output/spyware.tsv/ips/VALID/.gitkeep
├── output/spyware.tsv/logs
│ ├── output/spyware.tsv/logs/.gitkeep
│ └── output/spyware.tsv/logs/percentage
│ └── output/spyware.tsv/logs/percentage/.gitkeep
├── output/spyware.tsv/.running
└── output/spyware.tsv/splitted
└── output/spyware.tsv/splitted/.gitkeep
31 directories, 30 files |
What is the problem you are experiencing?
I am experiencing a problem when I'm using the
--config-dir
option. From the appointed dir/home/$USER/Projects/github/funilrys/PyFunceble/.PyFunceble/
&&./.PyFunceble/
(tested both) I can't see all the values are obeyed, In Example theI would expect to see all the test rows, but I do only see the standard rows like
Status
andSource
, It might be worth mentioning that I do have the same settings within my standard~/.config/PyFunceble
For new users, this is documented here https://docs.pyfunceble.com/use/configuration/location.html#linux-macosHow can we reproduce the problem?
To reproduce the problem:
pyfunceble --config-file ./.PyFunceble/.PyFunceble.overwrite.yaml --config-dir ./.PyFunceble/ -f /home/spirillen/Projects/github/mypdns/matrix/source/spyware/domains.list -f /home/spirillen/Projects/github/mypdns/matrix/source/spyware/wildcard.list -f /tmp/spyware.tsv
Do you have a screenshot?
Screenshot
What did you expect to happen?
That all my setting from the files of the config dir to be read and used
Is there a workaround?
It seems you have specify the config file explicitly
--config-file /home/$USER/Projects/github/funilrys/PyFunceble/.PyFunceble/.PyFunceble.overwrite.yaml
How did you configure PyFunceble?
Which Operating System did you use?
Ubuntu 24.04 LTS
Which Python Version did you use?
3.12
Which PyFunceble Version did you use?
4.3.0a4.dev (Blue Duckling: Tulip)
Additional context
The PostgreSQL module are now working as supposed 👍🏻
The text was updated successfully, but these errors were encountered: