Skip to content

Commit f035295

Browse files
committed
feat: Moved homebrew and other package managers to a dedicated package managers folder. Fixed broken links.
1 parent 0862c15 commit f035295

15 files changed

Lines changed: 18 additions & 11 deletions

File tree

.github/workflows/run-all-tests-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Test all (Linux)
55

66
on:
7-
push:
7+
# push:
88
workflow_dispatch:
99
schedule:
1010
- cron: '0 0 * * *' # Every day at midnight UTC

.github/workflows/run-all-tests-macos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Test all (MacOS)
55

66
on:
7-
push:
7+
# push:
88
workflow_dispatch:
99
schedule:
1010
- cron: '0 0 * * *' # Every day at midnight UTC

docs/resources/(resources)/meta.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"pages": [
3+
"package-managers",
34
"asdf",
45
"git",
56
"javascript",
67
"python",
8+
"ruby",
79
"scripting",
810
"shell",
911
"ssh",
12+
"syncthing",
1013
"tart",
1114
"..."
1215
]

docs/resources/(resources)/ollama.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The ollama resource installs [Ollama](https://ollama.com/), a runtime for runnin
4545

4646
## Notes:
4747

48-
- On macOS, Homebrew must be installed before applying the ollama resource. The [homebrew](/docs/resources/homebrew) resource can install it.
48+
- On macOS, Homebrew must be installed before applying the ollama resource. The [homebrew](/docs/resources/package-managers/homebrew) resource can install it.
4949
- On Linux, the official install script (`https://ollama.com/install.sh`) requires `curl` and `sudo` privileges. The script creates an `ollama` system user and registers a systemd service.
5050
- Models can be large (several gigabytes each). Make sure you have sufficient disk space before adding them to your configuration.
5151
- To see available model names and tags, visit [ollama.com/library](https://ollama.com/library) or run `ollama list` after installation.

docs/resources/(resources)/apt.mdx renamed to docs/resources/(resources)/package-managers/apt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Use the `name=version` syntax to install a particular version. Wildcards (`*`) a
6767
## Notes:
6868

6969
- The apt resource requires `sudo` privileges to install and remove packages. Codify handles privilege escalation automatically.
70-
- APT is only available on Debian-based Linux distributions. For Red Hat-based systems, use the [yum](/docs/resources/yum) or [dnf](/docs/resources/dnf) resources instead.
70+
- APT is only available on Debian-based Linux distributions. For Red Hat-based systems, use the [yum](/docs/resources/package-managers/yum) or [dnf](/docs/resources/package-managers/dnf) resources instead.
7171
- The `install` list is stateful — Codify tracks which packages it installed and removes them when they are taken off the list. Packages installed outside of Codify are not affected.
7272
- Package names must match those available in your configured APT repositories. Use `apt-cache search <package>` to find available packages and `apt-cache policy <package>` to see available versions.
7373
- The `os` field should be set to `["linux"]` when combining this resource with macOS-only resources in the same configuration file, so Codify only applies it on Linux systems.

docs/resources/(resources)/dnf.mdx renamed to docs/resources/(resources)/package-managers/dnf.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The dnf resource reference. This resource manages packages on modern Red Hat-bas
7070
## Notes:
7171

7272
- The dnf resource requires sudo privileges to install packages. Codify will prompt for your password when needed.
73-
- DNF is only available on modern Red Hat-based Linux distributions. For older RHEL/CentOS systems (version 7 and below), use the [yum](/docs/resources/yum) resource instead. For Debian-based systems, use the [apt](/docs/resources/apt) resource.
73+
- DNF is only available on modern Red Hat-based Linux distributions. For older RHEL/CentOS systems (version 7 and below), use the [yum](/docs/resources/package-managers/yum) resource instead. For Debian-based systems, use the [apt](/docs/resources/package-managers/apt) resource.
7474
- DNF is faster and more efficient than YUM, with better dependency resolution and lower memory usage.
7575
- Package names must match those available in your configured DNF repositories. Use `dnf search <package>` to find available packages.
7676
- When specifying versions, use the exact version string as shown by `dnf list <package>`.
File renamed without changes.
File renamed without changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"title": "package-managers",
3+
"pages": ["homebrew", "apt", "dnf", "macports", "snap", "yum"]
4+
}
File renamed without changes.

0 commit comments

Comments
 (0)