├── .czrc ├── .editorconfig ├── .env.ci.sample ├── .env.sample ├── .githooks ├── commit-msg └── pre-commit ├── .github ├── labels.yml └── workflows │ ├── cicd.yml │ └── sync-labels.yml ├── .pre-commit-config.yaml ├── .shellcheckrc ├── .shellcheckrc.ci ├── .vedv.env ├── .vedvfileignore ├── .vscode ├── bash.code-snippets ├── launch.json └── settings.json ├── .ydf.env.install.sample ├── .ydf.env.sample ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── Makefile.vedv ├── README.md ├── README.md.tpl ├── Vedvfile.manjaro ├── Vedvfile.ubuntu ├── commitlint.config.js ├── install ├── media ├── toc.png ├── ydf-packages.png └── ydf.png ├── packages-dev-manjaro.versions ├── packages-dev-ubuntu.versions ├── packages-opt-manjaro.versions ├── packages-opt-ubuntu.versions ├── packages-run-manjaro.versions ├── packages-run-ubuntu.versions ├── packages.env ├── src ├── etc │ ├── skel │ │ └── .ydf.env │ └── ydf │ │ └── ydf.env └── usr │ ├── bin │ └── ydf │ ├── lib │ └── ydf │ │ ├── components │ │ └── package │ │ │ ├── ydf-package-command.bash │ │ │ ├── ydf-package-entity.bash │ │ │ └── ydf-package-service.bash │ │ ├── errors.bash │ │ └── utils.bash │ └── share │ └── licenses │ └── ydf │ └── LICENSE ├── tests ├── fixtures │ ├── dirs │ │ └── .my │ │ │ ├── dir1 │ │ │ └── file11 │ │ │ ├── file1 │ │ │ └── file2 │ ├── packages │ │ ├── 0freedom-fail │ │ │ ├── docker-compose.yml │ │ │ ├── homeln │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 10ydfplugin │ │ │ └── 10ydfplugin.plugin.zsh │ │ ├── 11homeln │ │ │ └── homeln │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ ├── file1 │ │ │ │ └── file2 │ │ ├── 12homelnr │ │ │ └── homelnr │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ ├── file1 │ │ │ │ └── file2 │ │ ├── 13homecp │ │ │ └── homecp │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ ├── file1 │ │ │ │ └── file2 │ │ ├── 14rootcp │ │ │ └── rootcp │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ ├── file1 │ │ │ │ └── file2 │ │ ├── 15homecat │ │ │ └── homecat │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 16rootcat │ │ │ └── rootcat │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 17homecps │ │ │ └── homecps │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 18rootcps │ │ │ └── rootcps │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 19dconf │ │ │ └── dconf.ini │ │ ├── 1freedom │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 20homecats │ │ │ └── homecats │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 21multi@pacman │ │ │ ├── @pacman │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 21rootcats │ │ │ └── rootcats │ │ │ │ ├── .my-config.env │ │ │ │ └── .my │ │ │ │ ├── dir1 │ │ │ │ └── file11 │ │ │ │ └── file1 │ │ ├── 23scriptvars │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 24ydftheme │ │ │ └── 24ydftheme.theme.zsh │ │ ├── 25bat@apt │ │ │ └── @apt │ │ ├── 26exa@apt-get │ │ │ └── @apt-get │ │ ├── 2preinstall │ │ │ └── preinstall │ │ ├── 3install │ │ │ ├── install │ │ │ └── preinstall │ │ ├── 4postinstall │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 5dust@pacman │ │ │ ├── @pacman │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 6nnn@yay │ │ │ ├── @pacman │ │ │ ├── @yay │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 7micenter@flathub │ │ │ ├── @flatpak │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 8go@snap │ │ │ ├── @snap │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── 9hello-world@dockercomp │ │ │ ├── docker-compose.yml │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── bat │ │ │ ├── @apt │ │ │ ├── @pacman │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── com.github.tchx84.Flatseal │ │ │ ├── @flatpak │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── envsubst.env │ │ ├── exa │ │ │ └── @apt-get │ │ ├── multipass │ │ │ └── @snap │ │ ├── rustscan │ │ │ ├── @pacman │ │ │ ├── @yay │ │ │ ├── install │ │ │ ├── postinstall │ │ │ └── preinstall │ │ ├── selection │ │ ├── selection2 │ │ └── selection3 │ ├── packages2 │ │ └── 1liberty │ │ │ ├── postinstall │ │ │ └── preinstall │ └── packages3 │ │ ├── .hid-file │ │ ├── .hid-selection1.pkgs │ │ ├── other-file │ │ ├── selection1.pkgs │ │ └── selection2.pkgs ├── test_helper_base.bash └── usr │ ├── bin │ ├── test_helper.bash │ └── ydf.f.bats │ └── lib │ └── ydf │ ├── components │ └── package │ │ ├── test_helper.bash │ │ ├── ydf-package-command.f.bats │ │ ├── ydf-package-entity.bats │ │ └── ydf-package-service.i.bats │ ├── test_helper.bash │ └── utils.bats ├── tools ├── bats ├── bats-functional ├── bats-integration ├── bats-unit ├── ct-clean-exec ├── install-dev-manjaro ├── install-dev-ubuntu ├── install-opt-manjaro ├── install-opt-ubuntu ├── install-run-manjaro ├── install-run-ubuntu ├── list-pkgs-dev-manjaro ├── list-pkgs-dev-ubuntu ├── list-pkgs-opt-manjaro ├── list-pkgs-opt-ubuntu ├── list-pkgs-run-manjaro ├── list-pkgs-run-ubuntu ├── update-pkgs-dev-host-version ├── update-pkgs-test-versions └── update-readme ├── uninstall └── version.txt /.czrc: -------------------------------------------------------------------------------- 1 | { "path": "cz-conventional-changelog" } 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.ci.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.env.ci.sample -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.env.sample -------------------------------------------------------------------------------- /.githooks/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | commitlint --edit "${1}" 4 | -------------------------------------------------------------------------------- /.githooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.githooks/pre-commit -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.github/labels.yml -------------------------------------------------------------------------------- /.github/workflows/cicd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.github/workflows/cicd.yml -------------------------------------------------------------------------------- /.github/workflows/sync-labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.github/workflows/sync-labels.yml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.shellcheckrc: -------------------------------------------------------------------------------- 1 | external-sources=true 2 | -------------------------------------------------------------------------------- /.shellcheckrc.ci: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.shellcheckrc.ci -------------------------------------------------------------------------------- /.vedv.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.vedv.env -------------------------------------------------------------------------------- /.vedvfileignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.vedvfileignore -------------------------------------------------------------------------------- /.vscode/bash.code-snippets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.vscode/bash.code-snippets -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.ydf.env.install.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.ydf.env.install.sample -------------------------------------------------------------------------------- /.ydf.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/.ydf.env.sample -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.vedv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/Makefile.vedv -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/README.md -------------------------------------------------------------------------------- /README.md.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/README.md.tpl -------------------------------------------------------------------------------- /Vedvfile.manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/Vedvfile.manjaro -------------------------------------------------------------------------------- /Vedvfile.ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/Vedvfile.ubuntu -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/install -------------------------------------------------------------------------------- /media/toc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/media/toc.png -------------------------------------------------------------------------------- /media/ydf-packages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/media/ydf-packages.png -------------------------------------------------------------------------------- /media/ydf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/media/ydf.png -------------------------------------------------------------------------------- /packages-dev-manjaro.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-dev-manjaro.versions -------------------------------------------------------------------------------- /packages-dev-ubuntu.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-dev-ubuntu.versions -------------------------------------------------------------------------------- /packages-opt-manjaro.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-opt-manjaro.versions -------------------------------------------------------------------------------- /packages-opt-ubuntu.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-opt-ubuntu.versions -------------------------------------------------------------------------------- /packages-run-manjaro.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-run-manjaro.versions -------------------------------------------------------------------------------- /packages-run-ubuntu.versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages-run-ubuntu.versions -------------------------------------------------------------------------------- /packages.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/packages.env -------------------------------------------------------------------------------- /src/etc/skel/.ydf.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/etc/skel/.ydf.env -------------------------------------------------------------------------------- /src/etc/ydf/ydf.env: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2148 2 | -------------------------------------------------------------------------------- /src/usr/bin/ydf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/bin/ydf -------------------------------------------------------------------------------- /src/usr/lib/ydf/components/package/ydf-package-command.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/lib/ydf/components/package/ydf-package-command.bash -------------------------------------------------------------------------------- /src/usr/lib/ydf/components/package/ydf-package-entity.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/lib/ydf/components/package/ydf-package-entity.bash -------------------------------------------------------------------------------- /src/usr/lib/ydf/components/package/ydf-package-service.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/lib/ydf/components/package/ydf-package-service.bash -------------------------------------------------------------------------------- /src/usr/lib/ydf/errors.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/lib/ydf/errors.bash -------------------------------------------------------------------------------- /src/usr/lib/ydf/utils.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/lib/ydf/utils.bash -------------------------------------------------------------------------------- /src/usr/share/licenses/ydf/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/src/usr/share/licenses/ydf/LICENSE -------------------------------------------------------------------------------- /tests/fixtures/dirs/.my/dir1/file11: -------------------------------------------------------------------------------- 1 | file11 2 | -------------------------------------------------------------------------------- /tests/fixtures/dirs/.my/file1: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /tests/fixtures/dirs/.my/file2: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/0freedom-fail/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/0freedom-fail/docker-compose.yml -------------------------------------------------------------------------------- /tests/fixtures/packages/0freedom-fail/homeln: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages/0freedom-fail/postinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo postinstall 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages/0freedom-fail/preinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo 'preinstall fails' 4 | exit 1 5 | -------------------------------------------------------------------------------- /tests/fixtures/packages/10ydfplugin/10ydfplugin.plugin.zsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/10ydfplugin/10ydfplugin.plugin.zsh -------------------------------------------------------------------------------- /tests/fixtures/packages/11homeln/homeln/.my-config.env: -------------------------------------------------------------------------------- 1 | my-config 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/11homeln/homeln/.my/dir1/file11: -------------------------------------------------------------------------------- 1 | file11 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/11homeln/homeln/.my/file1: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/11homeln/homeln/.my/file2: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/12homelnr/homelnr/.my-config.env: -------------------------------------------------------------------------------- 1 | my-config 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/12homelnr/homelnr/.my/dir1/file11: -------------------------------------------------------------------------------- 1 | file11 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/12homelnr/homelnr/.my/file1: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/12homelnr/homelnr/.my/file2: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/13homecp/homecp/.my-config.env: -------------------------------------------------------------------------------- 1 | my-config 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/13homecp/homecp/.my/dir1/file11: -------------------------------------------------------------------------------- 1 | file11 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/13homecp/homecp/.my/file1: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/13homecp/homecp/.my/file2: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/14rootcp/rootcp/.my-config.env: -------------------------------------------------------------------------------- 1 | my-config 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/14rootcp/rootcp/.my/dir1/file11: -------------------------------------------------------------------------------- 1 | file11 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/14rootcp/rootcp/.my/file1: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/14rootcp/rootcp/.my/file2: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/15homecat/homecat/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/15homecat/homecat/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/15homecat/homecat/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/15homecat/homecat/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/15homecat/homecat/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/15homecat/homecat/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/16rootcat/rootcat/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/16rootcat/rootcat/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/16rootcat/rootcat/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/16rootcat/rootcat/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/16rootcat/rootcat/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/16rootcat/rootcat/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/17homecps/homecps/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/17homecps/homecps/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/17homecps/homecps/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/17homecps/homecps/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/17homecps/homecps/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/17homecps/homecps/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/18rootcps/rootcps/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/18rootcps/rootcps/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/18rootcps/rootcps/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/18rootcps/rootcps/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/18rootcps/rootcps/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/18rootcps/rootcps/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/19dconf/dconf.ini: -------------------------------------------------------------------------------- 1 | # Settings > Mouse 2 | [org/gnome/desktop/peripherals/mouse] 3 | speed=0.5 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages/1freedom/postinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo postinstall 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages/1freedom/preinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo 'preinstall succeed' 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages/20homecats/homecats/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/20homecats/homecats/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/20homecats/homecats/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/20homecats/homecats/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/20homecats/homecats/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/20homecats/homecats/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/21multi@pacman/@pacman: -------------------------------------------------------------------------------- 1 | 2 | dust nnn 3 | bat 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages/21multi@pacman/install: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/21multi@pacman/postinstall: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/21multi@pacman/preinstall: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/21rootcats/rootcats/.my-config.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/21rootcats/rootcats/.my-config.env -------------------------------------------------------------------------------- /tests/fixtures/packages/21rootcats/rootcats/.my/dir1/file11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/21rootcats/rootcats/.my/dir1/file11 -------------------------------------------------------------------------------- /tests/fixtures/packages/21rootcats/rootcats/.my/file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/21rootcats/rootcats/.my/file1 -------------------------------------------------------------------------------- /tests/fixtures/packages/23scriptvars/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/23scriptvars/install -------------------------------------------------------------------------------- /tests/fixtures/packages/23scriptvars/postinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/23scriptvars/postinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/23scriptvars/preinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/23scriptvars/preinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/24ydftheme/24ydftheme.theme.zsh: -------------------------------------------------------------------------------- 1 | echo 'great colors theme' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/25bat@apt/@apt: -------------------------------------------------------------------------------- 1 | 2 | bat 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/26exa@apt-get/@apt-get: -------------------------------------------------------------------------------- 1 | exa 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/2preinstall/preinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/2preinstall/preinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/3install/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/3install/install -------------------------------------------------------------------------------- /tests/fixtures/packages/3install/preinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/3install/preinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/4postinstall/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/4postinstall/install -------------------------------------------------------------------------------- /tests/fixtures/packages/4postinstall/postinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/4postinstall/postinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/4postinstall/preinstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/4postinstall/preinstall -------------------------------------------------------------------------------- /tests/fixtures/packages/5dust@pacman/@pacman: -------------------------------------------------------------------------------- 1 | 2 | dust 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/5dust@pacman/install: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/5dust@pacman/postinstall: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/5dust@pacman/preinstall: -------------------------------------------------------------------------------- 1 | echo '5dust@pacman: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/6nnn@yay/@pacman: -------------------------------------------------------------------------------- 1 | 2 | dust 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/6nnn@yay/@yay: -------------------------------------------------------------------------------- 1 | 2 | nnn 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/6nnn@yay/install: -------------------------------------------------------------------------------- 1 | echo '6nnn@yay: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/6nnn@yay/postinstall: -------------------------------------------------------------------------------- 1 | echo '6nnn@yay: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/6nnn@yay/preinstall: -------------------------------------------------------------------------------- 1 | echo '6nnn@yay: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/7micenter@flathub/@flatpak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/7micenter@flathub/@flatpak -------------------------------------------------------------------------------- /tests/fixtures/packages/7micenter@flathub/install: -------------------------------------------------------------------------------- 1 | echo '7micenter@flathub: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/7micenter@flathub/postinstall: -------------------------------------------------------------------------------- 1 | echo '7micenter@flathub: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/7micenter@flathub/preinstall: -------------------------------------------------------------------------------- 1 | echo '7micenter@flathub: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/8go@snap/@snap: -------------------------------------------------------------------------------- 1 | --classic go 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/8go@snap/install: -------------------------------------------------------------------------------- 1 | echo '8go@snap: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/8go@snap/postinstall: -------------------------------------------------------------------------------- 1 | echo '8go@snap: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/8go@snap/preinstall: -------------------------------------------------------------------------------- 1 | echo '8go@snap: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/9hello-world@dockercomp/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/9hello-world@dockercomp/docker-compose.yml -------------------------------------------------------------------------------- /tests/fixtures/packages/9hello-world@dockercomp/install: -------------------------------------------------------------------------------- 1 | echo '8go@snap: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/9hello-world@dockercomp/postinstall: -------------------------------------------------------------------------------- 1 | echo '8go@snap: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/9hello-world@dockercomp/preinstall: -------------------------------------------------------------------------------- 1 | echo '8go@snap: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/bat/@apt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages/bat/@pacman: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/bat/install: -------------------------------------------------------------------------------- 1 | echo 'bat: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/bat/postinstall: -------------------------------------------------------------------------------- 1 | echo 'bat: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/bat/preinstall: -------------------------------------------------------------------------------- 1 | echo 'bat: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/com.github.tchx84.Flatseal/@flatpak: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages/com.github.tchx84.Flatseal/install: -------------------------------------------------------------------------------- 1 | echo 'com.github.tchx84.Flatseal: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/com.github.tchx84.Flatseal/postinstall: -------------------------------------------------------------------------------- 1 | echo 'com.github.tchx84.Flatseal: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/com.github.tchx84.Flatseal/preinstall: -------------------------------------------------------------------------------- 1 | echo 'com.github.tchx84.Flatseal: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/envsubst.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/envsubst.env -------------------------------------------------------------------------------- /tests/fixtures/packages/exa/@apt-get: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages/multipass/@snap: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages/rustscan/@pacman: -------------------------------------------------------------------------------- 1 | 2 | dust 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/rustscan/@yay: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/rustscan/install: -------------------------------------------------------------------------------- 1 | echo 'rustscan: install succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/rustscan/postinstall: -------------------------------------------------------------------------------- 1 | echo 'rustscan: postinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/rustscan/preinstall: -------------------------------------------------------------------------------- 1 | echo 'rustscan: preinstall succeed' 2 | -------------------------------------------------------------------------------- /tests/fixtures/packages/selection: -------------------------------------------------------------------------------- 1 | 1freedom 2 | 2preinstall 3 | -------------------------------------------------------------------------------- /tests/fixtures/packages/selection2: -------------------------------------------------------------------------------- 1 | # Selection 2 2 | 3 | 1freedom 4 | 5 | 2preinstall 6 | -------------------------------------------------------------------------------- /tests/fixtures/packages/selection3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/fixtures/packages/selection3 -------------------------------------------------------------------------------- /tests/fixtures/packages2/1liberty/postinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo '1liberty: postinstall' 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages2/1liberty/preinstall: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo '1liberty: preinstall succeed' 4 | -------------------------------------------------------------------------------- /tests/fixtures/packages3/.hid-file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages3/.hid-selection1.pkgs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages3/other-file: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages3/selection1.pkgs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/packages3/selection2.pkgs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_helper_base.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/test_helper_base.bash -------------------------------------------------------------------------------- /tests/usr/bin/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/bin/test_helper.bash -------------------------------------------------------------------------------- /tests/usr/bin/ydf.f.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/bin/ydf.f.bats -------------------------------------------------------------------------------- /tests/usr/lib/ydf/components/package/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/components/package/test_helper.bash -------------------------------------------------------------------------------- /tests/usr/lib/ydf/components/package/ydf-package-command.f.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/components/package/ydf-package-command.f.bats -------------------------------------------------------------------------------- /tests/usr/lib/ydf/components/package/ydf-package-entity.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/components/package/ydf-package-entity.bats -------------------------------------------------------------------------------- /tests/usr/lib/ydf/components/package/ydf-package-service.i.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/components/package/ydf-package-service.i.bats -------------------------------------------------------------------------------- /tests/usr/lib/ydf/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/test_helper.bash -------------------------------------------------------------------------------- /tests/usr/lib/ydf/utils.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tests/usr/lib/ydf/utils.bats -------------------------------------------------------------------------------- /tools/bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/bats -------------------------------------------------------------------------------- /tools/bats-functional: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/bats-functional -------------------------------------------------------------------------------- /tools/bats-integration: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/bats-integration -------------------------------------------------------------------------------- /tools/bats-unit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/bats-unit -------------------------------------------------------------------------------- /tools/ct-clean-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/ct-clean-exec -------------------------------------------------------------------------------- /tools/install-dev-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-dev-manjaro -------------------------------------------------------------------------------- /tools/install-dev-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-dev-ubuntu -------------------------------------------------------------------------------- /tools/install-opt-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-opt-manjaro -------------------------------------------------------------------------------- /tools/install-opt-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-opt-ubuntu -------------------------------------------------------------------------------- /tools/install-run-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-run-manjaro -------------------------------------------------------------------------------- /tools/install-run-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/install-run-ubuntu -------------------------------------------------------------------------------- /tools/list-pkgs-dev-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-dev-manjaro -------------------------------------------------------------------------------- /tools/list-pkgs-dev-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-dev-ubuntu -------------------------------------------------------------------------------- /tools/list-pkgs-opt-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-opt-manjaro -------------------------------------------------------------------------------- /tools/list-pkgs-opt-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-opt-ubuntu -------------------------------------------------------------------------------- /tools/list-pkgs-run-manjaro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-run-manjaro -------------------------------------------------------------------------------- /tools/list-pkgs-run-ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/list-pkgs-run-ubuntu -------------------------------------------------------------------------------- /tools/update-pkgs-dev-host-version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/update-pkgs-dev-host-version -------------------------------------------------------------------------------- /tools/update-pkgs-test-versions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/update-pkgs-test-versions -------------------------------------------------------------------------------- /tools/update-readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/tools/update-readme -------------------------------------------------------------------------------- /uninstall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunielrc/ydf/HEAD/uninstall -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 0.3.1 2 | --------------------------------------------------------------------------------