Comments (12)
I don't think we plan to do this ourselves. I don't fully understand how this would look, so perhaps you'd be interested in opening a PR and showing us the benefits, and what tare the benefits? Is there a good description of what a such integration entitles?
from platformdirs.
Apologies for the delay here!
The fuzzer I added for now is here: https://github.com/google/oss-fuzz/pull/8244/files#diff-d8851e58e8b63c88b3ad9b845fcd8becb9dbcfadebf9cc13b532e69e14a34776
In essence, a simple fuzzer that will explore most of the code in paltformdirs.
Since platformdirs is fairly small in size I think there will be limited findings. However, to give some insights on what it can find, an example of bug found by fuzzing is pallets/werkzeug#2494 -- This was found by the fuzzer in OSS-Fuzz (https://github.com/google/oss-fuzz/blob/master/projects/flask/fuzz_werkzeug_http.py) which showed the stack trace:
=== Uncaught Python exception: ===
| ValueError: invalid literal for int() with base 10: '²'
| Traceback (most recent call last):
| File "fuzz_werkzeug_http.py", line 25, in TestOneInput
| File "werkzeug/http.py", line 822, in parse_content_range_header
Although platformdirs is relatively small, OSS-Fuzz will help have a continuous monitoring solution on the project as well.
from platformdirs.
- This was found by the fuzzer in OSS-Fuzz (https://github.com/google/oss-fuzz/blob/master/projects/flask/fuzz_werkzeug_http.p)
This link does not work for me 🤔
from platformdirs.
- This was found by the fuzzer in OSS-Fuzz (https://github.com/google/oss-fuzz/blob/master/projects/flask/fuzz_werkzeug_http.p)
This link does not work for me thinking
Apologies -- edited it to work now (was missing y
at the end).
from platformdirs.
So how we will get notified when things fail?
from platformdirs.
So how we will get notified when things fail?
by email:
"If you would like to integrate, the only thing I need is a list of email(s) that will get access to the data produced by OSS-Fuzz, such as bug reports, coverage reports and more stats."
Note the email(s) should be affiliated with a Google account as authentication is done that way
from platformdirs.
So given that do you need anything more here? Or we can close this then?
from platformdirs.
Yes, given that then there is nothing more here. Later, I could move the fuzzers upstream but we can do that after
from platformdirs.
It's on my profile 👍
from platformdirs.
It's on my profile +1
Awesome, thanks!
from platformdirs.
@gaborbernat I just noticed you also maintain filelock, would you be okay with me doing the same for filelock?
from platformdirs.
Yes
from platformdirs.
Related Issues (20)
- Testing could fail with pytest-randomly HOT 1
- Windows support link broken HOT 2
- `user_runtime_dir` for root on Unix
- user_runtime_dir for *BSD HOT 3
- Feature: add user_downloads_dir HOT 1
- Feature: user_desktop_dir HOT 2
- Cannot import name '__version__' from 'platformdirs.version' HOT 6
- Unix user_log_dir doesn't create log dir HOT 1
- Optionally redirect `user_*_dir()` calls to `site_*_dir()` for root on Unix HOT 2
- Add `site_state_dir()` counterpart for `user_state_dir()` HOT 1
- Add `site_log_dir()` counterpart for `user_log_dir()`
- pre-commit updates of pyproject.toml:[build-system]:requires HOT 3
- Support Homebrew prefixes
- HOME and StartMenu? HOT 1
- Missing changelog for 4.0 HOT 3
- Feature Request: Be able to create directories HOT 1
- multipath cannot work for path HOT 5
- Adding to stdlib/pathlib? HOT 13
- Paths can be overridden using environment variables on Linux, but not MacOS? HOT 8
- `MacOS.site_data_path` returns `:` separated path under Homebrew with multipath HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platformdirs.