-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
setup.py: create a proper setup script #17500
Comments
here is an example how other tools has fixed the same issue: |
How do we solve the OS dependencies with |
I have intentionally mentioned wifite2 because they call external tools too, so it is a good example. |
Hmmm... let me answer line by line:
I see this as an extra step. Let me explain the two flows: Proposed one
Current
Note that the user never left the console. Note that the user (if the distribution is supported by dependency check) never gets frustrated because w3af is telling him exactly what to do. Support for distribution X or Y will always be a hard thing to achieve. Documentation and/or dependency check scripts will both get outdated.
Agreed, but this never worked for me in the past. Maintaining packages for each distribution is hard, I personally dislike the task, and there is nobody helping me with it. Getting a package to ubuntu / debian repos is a PITA. You need to get a package maintainer to help, there are too many rules to follow, many emails to get things going... and then... the same happens with the other 10 important distributions that there are out there... and each has a different set of rules and techniques to use to create "the package the right way". With These are the alternatives I see:
|
EDIT: Proposed oneUser runs the standard: I suggest the following:
I can guarantee you that Pentoo will be one of the first distro to pick up the latest version quickly (and no, I don't need your help if the tool is written properly). Let me explain the current complexity from another point of view. As a package maintainer I need to do the following:
You can have a look at the bash script here: https://github.com/pentoo/pentoo-overlay/blob/master/net-analyzer/w3af/w3af-1.6.54-r4.ebuild As you can guess, we write such ebuilds with hope that it would be easier to install a next version by simply coping it with a different version number. It is not that simple today, and I had to waste a lot of time before our users can get a next version |
It will be slow and painful, I promise. I've been through that path already and it is not nice. You're here and interested in having a better w3af, pentoo will be the first. There will be no second. The rest of the package maintainers don't care at all. I've decided that implementing this is not the best use of my time, so I won't do it. If you, or someone else form the community wants to send a PR, I'll be more than happy to review and merge if:
|
Please create a proper script so it would be easier to install, upgrade and uninstall the tool and get rid of the current script which supports limited distros only:
controllers/dependency_check
.Once it is done, it will be possible to install w3af on any platform using a standard command:
python setup.py install
The text was updated successfully, but these errors were encountered: