Skip to content
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

New Command Script: OWASP Project Upload #3166

Merged
merged 3 commits into from
Dec 28, 2024

Conversation

JisanAR03
Copy link
Contributor

New Command Script: OWASP Project Upload

This PR introduces a command script to simplify the process of uploading projects from a CSV file. Here’s how it works:

  1. Place the CSV file (e.g., clean_project.csv) in the root folder.

  2. Run the following command:

    python manage.py owasp_project_upload --csv-file clean_project.csv
  3. The script will prompt for input to confirm the existence of the OWASP organization in the application.

    • Input "yes" if the OWASP organization exists in the BLT application (which it should).
    • The script will then import all projects and their related repositories (approximately 400).
  4. The upload process may take some time to complete. Once finished, all projects will be uploaded.

@DonnieBLT sir , can you please review this one.

fix #2972

@DonnieBLT DonnieBLT merged commit 9a38e25 into OWASP-BLT:main Dec 28, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create a csv to add all owasp projects to /projects
2 participants