├── .dockerignore ├── .env ├── .github ├── FUNDING.yml └── workflows │ ├── docker-image.yml │ └── rust.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── LICENSE ├── README.md ├── db └── migrations ├── docker-compose.yml ├── migrations ├── 20240410165319_init.down.sql ├── 20240410165319_init.up.sql ├── 20240411180313_tasks.down.sql ├── 20240411180313_tasks.up.sql ├── 20240414163453_refs-idx-uniq.down.sql ├── 20240414163453_refs-idx-uniq.up.sql ├── 20240414184554_packages.down.sql ├── 20240414184554_packages.up.sql ├── 20240415204505_search-index.down.sql ├── 20240415204505_search-index.up.sql ├── 20240416124029_retry-limits.down.sql ├── 20240416124029_retry-limits.up.sql ├── 20240503120056_sbom.down.sql ├── 20240503120056_sbom.up.sql ├── 20240506111249_timestamps.down.sql ├── 20240506111249_timestamps.up.sql ├── 20240510222903_import_time_index.down.sql ├── 20240510222903_import_time_index.up.sql ├── 20240517213440_index-refs-vendor.down.sql ├── 20240517213440_index-refs-vendor.up.sql ├── 20240526194942_aliases-unique.down.sql ├── 20240526194942_aliases-unique.up.sql ├── 20240530155351_compressed-artifact-metadata.down.sql └── 20240530155351_compressed-artifact-metadata.up.sql ├── src ├── alias.rs ├── apkbuild.rs ├── apt.rs ├── args.rs ├── chksums.rs ├── compression.rs ├── db.rs ├── errors.rs ├── ingest │ ├── alpine.rs │ ├── git.rs │ ├── mod.rs │ ├── pacman.rs │ ├── rpm.rs │ ├── tar.rs │ ├── void.rs │ └── wolfi.rs ├── main.rs ├── pkgbuild.rs ├── reindex.rs ├── sbom │ ├── cargo.rs │ ├── composer.rs │ ├── go.rs │ ├── mod.rs │ ├── npm.rs │ └── yarn.rs ├── sync │ ├── alpine.rs │ ├── apt.rs │ ├── gentoo.rs │ ├── guix.rs │ ├── homebrew.rs │ ├── live_bootstrap.rs │ ├── mod.rs │ ├── pacman.rs │ ├── rpm.rs │ ├── stagex.rs │ ├── void.rs │ └── yocto.rs ├── utils.rs ├── void_template.rs ├── web.rs ├── worker.rs └── yocto.rs └── templates ├── archive.txt.hbs ├── artifact.html.hbs ├── base.html.hbs ├── diff.html.hbs ├── index.html.hbs ├── sbom.html.hbs ├── search.html.hbs ├── stats.html.hbs └── style.css /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/.env -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [kpcyrd] 2 | -------------------------------------------------------------------------------- /.github/workflows/docker-image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/.github/workflows/docker-image.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/README.md -------------------------------------------------------------------------------- /db/migrations: -------------------------------------------------------------------------------- 1 | ../migrations -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /migrations/20240410165319_init.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE artifacts, aliases, refs; 2 | -------------------------------------------------------------------------------- /migrations/20240410165319_init.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240410165319_init.up.sql -------------------------------------------------------------------------------- /migrations/20240411180313_tasks.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE tasks; 2 | -------------------------------------------------------------------------------- /migrations/20240411180313_tasks.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240411180313_tasks.up.sql -------------------------------------------------------------------------------- /migrations/20240414163453_refs-idx-uniq.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240414163453_refs-idx-uniq.down.sql -------------------------------------------------------------------------------- /migrations/20240414163453_refs-idx-uniq.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240414163453_refs-idx-uniq.up.sql -------------------------------------------------------------------------------- /migrations/20240414184554_packages.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE packages; 2 | -------------------------------------------------------------------------------- /migrations/20240414184554_packages.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240414184554_packages.up.sql -------------------------------------------------------------------------------- /migrations/20240415204505_search-index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX refs_idx_package; 2 | -------------------------------------------------------------------------------- /migrations/20240415204505_search-index.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240415204505_search-index.up.sql -------------------------------------------------------------------------------- /migrations/20240416124029_retry-limits.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240416124029_retry-limits.down.sql -------------------------------------------------------------------------------- /migrations/20240416124029_retry-limits.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240416124029_retry-limits.up.sql -------------------------------------------------------------------------------- /migrations/20240503120056_sbom.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240503120056_sbom.down.sql -------------------------------------------------------------------------------- /migrations/20240503120056_sbom.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240503120056_sbom.up.sql -------------------------------------------------------------------------------- /migrations/20240506111249_timestamps.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240506111249_timestamps.down.sql -------------------------------------------------------------------------------- /migrations/20240506111249_timestamps.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240506111249_timestamps.up.sql -------------------------------------------------------------------------------- /migrations/20240510222903_import_time_index.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240510222903_import_time_index.down.sql -------------------------------------------------------------------------------- /migrations/20240510222903_import_time_index.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240510222903_import_time_index.up.sql -------------------------------------------------------------------------------- /migrations/20240517213440_index-refs-vendor.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX refs_idx_vendor; 2 | -------------------------------------------------------------------------------- /migrations/20240517213440_index-refs-vendor.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240517213440_index-refs-vendor.up.sql -------------------------------------------------------------------------------- /migrations/20240526194942_aliases-unique.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX aliases_idx_uniq; 2 | -------------------------------------------------------------------------------- /migrations/20240526194942_aliases-unique.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/migrations/20240526194942_aliases-unique.up.sql -------------------------------------------------------------------------------- /migrations/20240530155351_compressed-artifact-metadata.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE artifacts 2 | DROP COLUMN files_compressed; 3 | -------------------------------------------------------------------------------- /migrations/20240530155351_compressed-artifact-metadata.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE artifacts 2 | ADD COLUMN files_compressed BYTEA; 3 | -------------------------------------------------------------------------------- /src/alias.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/alias.rs -------------------------------------------------------------------------------- /src/apkbuild.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/apkbuild.rs -------------------------------------------------------------------------------- /src/apt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/apt.rs -------------------------------------------------------------------------------- /src/args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/args.rs -------------------------------------------------------------------------------- /src/chksums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/chksums.rs -------------------------------------------------------------------------------- /src/compression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/compression.rs -------------------------------------------------------------------------------- /src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/db.rs -------------------------------------------------------------------------------- /src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/errors.rs -------------------------------------------------------------------------------- /src/ingest/alpine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/alpine.rs -------------------------------------------------------------------------------- /src/ingest/git.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/git.rs -------------------------------------------------------------------------------- /src/ingest/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/mod.rs -------------------------------------------------------------------------------- /src/ingest/pacman.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/pacman.rs -------------------------------------------------------------------------------- /src/ingest/rpm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/rpm.rs -------------------------------------------------------------------------------- /src/ingest/tar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/tar.rs -------------------------------------------------------------------------------- /src/ingest/void.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/void.rs -------------------------------------------------------------------------------- /src/ingest/wolfi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/ingest/wolfi.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/pkgbuild.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/pkgbuild.rs -------------------------------------------------------------------------------- /src/reindex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/reindex.rs -------------------------------------------------------------------------------- /src/sbom/cargo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/cargo.rs -------------------------------------------------------------------------------- /src/sbom/composer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/composer.rs -------------------------------------------------------------------------------- /src/sbom/go.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/go.rs -------------------------------------------------------------------------------- /src/sbom/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/mod.rs -------------------------------------------------------------------------------- /src/sbom/npm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/npm.rs -------------------------------------------------------------------------------- /src/sbom/yarn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sbom/yarn.rs -------------------------------------------------------------------------------- /src/sync/alpine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/alpine.rs -------------------------------------------------------------------------------- /src/sync/apt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/apt.rs -------------------------------------------------------------------------------- /src/sync/gentoo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/gentoo.rs -------------------------------------------------------------------------------- /src/sync/guix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/guix.rs -------------------------------------------------------------------------------- /src/sync/homebrew.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/homebrew.rs -------------------------------------------------------------------------------- /src/sync/live_bootstrap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/live_bootstrap.rs -------------------------------------------------------------------------------- /src/sync/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/mod.rs -------------------------------------------------------------------------------- /src/sync/pacman.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/pacman.rs -------------------------------------------------------------------------------- /src/sync/rpm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/rpm.rs -------------------------------------------------------------------------------- /src/sync/stagex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/stagex.rs -------------------------------------------------------------------------------- /src/sync/void.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/void.rs -------------------------------------------------------------------------------- /src/sync/yocto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/sync/yocto.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/utils.rs -------------------------------------------------------------------------------- /src/void_template.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/void_template.rs -------------------------------------------------------------------------------- /src/web.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/web.rs -------------------------------------------------------------------------------- /src/worker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/worker.rs -------------------------------------------------------------------------------- /src/yocto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/src/yocto.rs -------------------------------------------------------------------------------- /templates/archive.txt.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/archive.txt.hbs -------------------------------------------------------------------------------- /templates/artifact.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/artifact.html.hbs -------------------------------------------------------------------------------- /templates/base.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/base.html.hbs -------------------------------------------------------------------------------- /templates/diff.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/diff.html.hbs -------------------------------------------------------------------------------- /templates/index.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/index.html.hbs -------------------------------------------------------------------------------- /templates/sbom.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/sbom.html.hbs -------------------------------------------------------------------------------- /templates/search.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/search.html.hbs -------------------------------------------------------------------------------- /templates/stats.html.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/stats.html.hbs -------------------------------------------------------------------------------- /templates/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kpcyrd/what-the-src/HEAD/templates/style.css --------------------------------------------------------------------------------