aishpant / attribute-documentation Goto Github PK
View Code? Open in Web Editor NEWHelper tool for generating Linux Kernel sysfs attribute documentation.
License: GNU General Public License v3.0
Helper tool for generating Linux Kernel sysfs attribute documentation.
License: GNU General Public License v3.0
Right now for cleaning up temporary generated files, abi2doc
uses:
def remove_temp_files():
for p in Path("/tmp/").glob("*.cocci"):
p.unlink()
This clean-up should be more specfic, It should look for /tmp/batch_task_*.cocci
and /tmp/out.batch_task_*.cocci
instead.
This line in doc.py
fails with an index out of bounds error:
kernel_version = sorted(tags, key=StrictVersion)[0]
Error should be caught and handled.
Makes it easy to read and manage...
Two places need to be updated:
pip3 install abi2doc
./configure --with-python=python3
. README should direct coccinelle install instructions to the github repo since all the distro packages are outdated now.Refer to comment in commit "use system cpu count to run spatch" .
Mutating variables outside the scope of a function is in general a bad idea.
Reported by: @jaseemabid.
Use a linter like flake8 to weed out coding style issues / bug fixes in the python files.
There might be lots!
Some print statements are for debugging purpose and they should be printed in verbose mode only.
This should be corrected to match the developer's machine
The git log -L command in doc.py takes a very long time to run. The script would be much faster if it runs in parallel.
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.