| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
If you have not already done so, go back and read the section "Contributing to ESAPI legacy" in ESAPI's README.md file. It may contain updates and advice not contained herein.
GitHub has announced that they are deprecating password based authentication using username / password and beginning 2021-08-13, you will no longer be able to your password to authenticate to 'git' operations on GitHub.com. Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for details and plan accordingly.
Shortly after the 2.5.1.0 ESAPI release in late November 2022, the ESAPI team decided to lock down the 'develop' amd 'main' branches. Merges from PRs are done to the 'develop' branch. That means that if you intend to contribute to ESAPI, you must be signing your commits. Please see the GitHub instructions at https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits for details.
We are following the branching model described in https://nvie.com/posts/a-successful-git-branching-model If you are unfamiliar with it, you would be advised to give it a quick perusal. The major point is that the 'main' (formerly 'master') branch is reserved for official releases (which will be tagged), the 'develop' branch is used for ongoing development work and is the default branch, and we generally work off 'issue' branches named 'issue-#' where # is the GitHub issue number. (The last is not an absolute requirement, but rather a suggested approach.)
Finally, we recommend setting the git property 'core.autocrlf' to 'input' in your $HOME/.gitconfig file; e.g., that file should contain something like this:
[core]
autocrlf = input
We use Maven for building. Maven 3.6.3 or later is required. You also need JDK 8 or later. [Note: If you use JDK 9 or later, there will be multiple failures when you try to run 'mvn test' as well as some general warnings. See ESAPI GitHub issue #496 for details. We welcome volunteers to address this.]
See the section Contributing to ESAPI Legacy in the ESAPI README for suggestions. While you don't have to work on something labeled "good first issue" or "help wanted", those are good places to start for someone not yet familiar with the ESAPI code base.
You will need a account on GitHub though. Once you create one, let us know what it is. Then if you want to work on a particular issue, we can assign it to you so someone else won't take it.
If you have questions, email Kevin Wall (Kevin.W.Wall@gmail.com) or Matt Seil (xeno6696@gmail.com).
See our local GitHub wiki page, Building ESAPI, which briefly discusses how to build ESAPI via Maven.
You can also refer to Using ESAPI for Java with Eclipse if you prefer working from IDEs. There is also a much older ESAPI wiki page, Building with Eclipse that might be useful.
As always, any contributions to ESAPI's admittedly skimpy documentation in this area is welcome. In particular, contributing some hints about debugging applications using ESAPI would be very useful to our ESAPI clients.
I usually do everything from the bash command prompt in Linux Mint, but other people use Windows. If you prefer an IDE, I can't help you much, but I can help with at least modest problems. If you have more difficult problems, I will probably refer you to my project co-leader, Matt who groks git a lot better than I.
But the basic high level steps are:
$ git checkout -b issue-# $ mvn org.owasp:dependency-check-maven:check $ git checkout issue-444
$ git remote -v | grep origin # Confirm 'origin' refers to YOUR PERSONAL GitHub repo
$ git push origin issue-444 # Push the committed changes on the 'issue-444' branchIn theory, you can do all this 'git' magic from Eclipse and presumably other IDEs like Oracle NetBeans or JetBrains IntelliJ IDEA. From Eclipse, it is right-click on the project and then select 'Team' to do the commits, etc. If you choose that route, you're pretty much on your own because none of us use that for Git interactions.
| Back | FazBrowse Home | New Git URL |