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

WIP: Rust rewrite of wordlistctl #32

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
8fd18ae
Creating config file
Sable-20 Mar 20, 2024
ee93d24
Repo.json -> Repo.toml
Sable-20 Mar 20, 2024
e10cd4d
Fix extra whitespace
Sable-20 Mar 20, 2024
ef66f9a
Delete man directory
Sable-20 Mar 20, 2024
98bd96e
Update README.md
Sable-20 Mar 20, 2024
b598a04
Delete requirements.txt
Sable-20 Mar 20, 2024
0569a77
Delete repo.json
Sable-20 Mar 20, 2024
cf689de
Delete config/config.toml
Sable-20 Mar 20, 2024
fbef100
Start
Sable-20 Mar 20, 2024
0224c65
Fix git issues
Sable-20 Mar 20, 2024
4542a7d
add units module
Sable-20 Mar 21, 2024
dcf3601
remove unneeded `use`
Sable-20 Mar 21, 2024
981d678
Experiment with arguments
Sable-20 Mar 21, 2024
0883c91
Create repo.rs
Sable-20 Mar 25, 2024
a23d9d1
Delete src/repo.rs
Sable-20 Mar 25, 2024
5a2c8db
Nightly work
Sable-20 Mar 26, 2024
d871651
Merge branch 'dev' of https://github.com/Sable-20/rwordlistctl into dev
Sable-20 Mar 26, 2024
88efd12
Create codacy.yml
Sable-20 Mar 26, 2024
ff19ab2
Fix Codacy
Sable-20 Mar 26, 2024
fd960bc
Update codacy.yml
Sable-20 Mar 26, 2024
a35f390
fuck it
Sable-20 Mar 27, 2024
b340fac
Update README.md
Sable-20 Mar 27, 2024
6733469
Major revamp of cli format
Sable-20 Mar 27, 2024
4f30cbc
Merge pull request #2 from Sable-20/dev
Sable-20 Mar 28, 2024
275a5fa
Create rust.yml
Sable-20 Mar 28, 2024
f82d948
Create super-linter.yml
Sable-20 Mar 28, 2024
5fd9360
Honestly it's late and I'm tired
Sable-20 Mar 29, 2024
75e1e9b
Sure why not, lets fix clippy stuff
Sable-20 Mar 29, 2024
2fe2a88
Cargo clippy stuff
Sable-20 Mar 29, 2024
3952e67
Update config.toml
Sable-20 Mar 29, 2024
e38a9dc
Cleaned up
Sable-20 Mar 30, 2024
b6a5223
Implemented fetching files
Sable-20 Apr 2, 2024
04ee388
Merge pull request #9 from Sable-20/dev
Sable-20 Apr 2, 2024
954bde9
Add gzip brotli and deflate
Sable-20 Apr 2, 2024
f570993
Update Cargo.toml
Sable-20 Apr 2, 2024
ecf3d1c
Merge pull request #10 from Sable-20/dev
Sable-20 Apr 2, 2024
9198a9e
Update fetch.rs
Sable-20 Apr 2, 2024
d6b1433
Merge pull request #11 from Sable-20/dev
Sable-20 Apr 2, 2024
5f87e06
Work for apr 3rd evening
Sable-20 Apr 4, 2024
d7a23f9
Morning work
Sable-20 Apr 4, 2024
24eafd2
Delete .github/workflows/super-linter.yml
Sable-20 Apr 4, 2024
f230d2e
Merge pull request #12 from Sable-20/dev
Sable-20 Apr 4, 2024
cf5ab44
add substitution to allow docker to run the app
Sable-20 Apr 8, 2024
fb8c5dc
Fix file to adjust
Sable-20 Apr 8, 2024
247d263
Fix detection of version messing with sed
Sable-20 Apr 8, 2024
947e2d9
Shorten sed command
Sable-20 Apr 8, 2024
41be440
Update issue templates
Sable-20 Apr 8, 2024
9b9fb6e
Update README.md
Sable-20 Apr 8, 2024
068aa71
Update README.md
Sable-20 Apr 8, 2024
f4c67bb
Will remove
Sable-20 Apr 8, 2024
cef1a3b
Add logo
Sable-20 Apr 8, 2024
b5eec39
Update README.md
Sable-20 Apr 8, 2024
b23cd8d
Do further testing on moving config files around
Sable-20 Apr 8, 2024
1b8e533
Merge pull request #15 from Sable-20/Docker
Sable-20 Apr 8, 2024
6b98b99
Work on README.md
Sable-20 Apr 8, 2024
76ff4af
Refactoring + list
Sable-20 Apr 9, 2024
14d388e
Delete Cargo.lock
Sable-20 Apr 9, 2024
6d52325
Version bump
Sable-20 Apr 9, 2024
3fb2cb6
Update .gitignore
Sable-20 Apr 9, 2024
6231ab5
fix stuff
Sable-20 Apr 9, 2024
78eb076
Merge branch 'master' of https://github.com/Sable-20/rwordlistctl
Sable-20 Apr 9, 2024
05aadc6
add cargo.lock
Sable-20 Apr 10, 2024
b8bc068
Development environment work
Sable-20 Apr 11, 2024
09a5b0b
Update README.md
Sable-20 Apr 11, 2024
9bf5101
Update README.md
Sable-20 Apr 11, 2024
f6b08c9
Update README.md
Sable-20 Apr 11, 2024
e068159
Update README.md
Sable-20 Apr 11, 2024
2546c45
Update README.md
Sable-20 Apr 11, 2024
9f09270
Update README.md
Sable-20 Apr 11, 2024
6dbb65a
Update README.md
Sable-20 Apr 11, 2024
1120dc8
Update README.md
Sable-20 Apr 11, 2024
d48afb5
Update README.md
Sable-20 Apr 11, 2024
61de7ac
! in wrong location
Sable-20 Apr 11, 2024
3869334
test flake
Sable-20 Apr 11, 2024
003b7f0
try #2
Sable-20 Apr 11, 2024
7520352
Try #3
Sable-20 Apr 11, 2024
050d0f5
I hate my life
Sable-20 Apr 12, 2024
ed5dedf
I'm so tired
Sable-20 Apr 12, 2024
aa80dd3
We do a little bit of mischief
Sable-20 Apr 13, 2024
56535c6
Work for today
Sable-20 Apr 13, 2024
4aa28d0
forgot to add this
Sable-20 Apr 13, 2024
e3ac2db
Quality of life
Sable-20 Apr 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
testing/*
rwordlistctl.log
.git
Dockerfile
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS, or docker]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

If docker was used, please provide the docker version used.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/workflows/build_nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Build legacy Nix package on Ubuntu"

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v26
- name: Building package
run: nix build
61 changes: 61 additions & 0 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow checks out code, performs a Codacy security scan
# and integrates the results with the
# GitHub Advanced Security code scanning feature. For more information on
# the Codacy security scan action usage and parameters, see
# https://github.com/codacy/codacy-analysis-cli-action.
# For more information on Codacy Analysis CLI in general, see
# https://github.com/codacy/codacy-analysis-cli.

name: Codacy Security Scan

on:
push:
branches: [ "master", "dev", "repo-array-format" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master", "dev" ]
schedule:
- cron: '41 7 * * 3'

permissions:
contents: read

jobs:
codacy-security-scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v3

# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
with:
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
# You can also omit the token and run the tools that support default configurations
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
verbose: true
output: results.sarif
format: sarif
# Adjust severity of non-security issues
gh-code-scanning-compat: true
# Force 0 exit code to allow SARIF file generation
# This will handover control about PR rejection to the GitHub side
max-allowed-issues: 2147483647

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
139 changes: 14 additions & 125 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,131 +1,20 @@
pkg/
src/
trunk/

/real-repo/
/repo/
/build/
/chroot/
/alt/
/logs

/.gnupg/
/.subversion/

*.swp
*~
*.tmp
tags

.MTREE
.PKGINFO
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

# Rope project settings
.ropeproject
# These are backup files generated by rustfmt
**/*.rs.bk

# mkdocs documentation
/site
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# mypy
.mypy_cache/
# Uncomment this line when reaching a stable version of project
# config/test.toml

.idea/
.vscode
.project
.pydevproject
.settings/
rwordlistctl.log
testing/
testing/*
Loading