Skip to content

Commit

Permalink
Revert "🧹 format all files"
Browse files Browse the repository at this point in the history
This reverts commit 461b75c.
  • Loading branch information
vnepogodin committed Aug 30, 2024
1 parent f94dc08 commit 7256e5b
Show file tree
Hide file tree
Showing 111 changed files with 1,187 additions and 1,810 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This repository contains the source code of our [wiki page](https://wiki.cachyos

- [bun](https://github.com/oven-sh/bun) - Run a local copy of the website to preview local changes
- [git](https://git-scm.com/downloads) - Avoid editing files from GitHub Web as much as possible. See [here](https://docs.github.com/en/get-started/using-git)
to get started on using git.
to get started on using git.
- A text editor - Ideally one that parses markdown correctly.

> [!TIP]
Expand Down
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export default defineConfig({
label: 'sched-ext Tutorial',
translations: {
sk: 'sched-ext návod',
cs: 'sched-ext Tutoriál',
cs: 'sched-ext Tutoriál',
},
link: 'configuration/sched-ext',
},
Expand Down
7 changes: 2 additions & 5 deletions src/components/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export const getImgPath = async (img_input: string | object) => {
return img_input;
}

const promised_input = (
'then' in img_input ? (await img_input).default : img_input
) as ImageObject;
const promised_input = ('then' in img_input ? (await img_input).default : img_input) as ImageObject;

// for remote images, only validate the width and height props
if (typeof promised_input.src === 'string') {
Expand All @@ -25,8 +23,7 @@ export const getImgPath = async (img_input: string | object) => {
}

// resolve the metadata promise, usually when the ESM import is inlined
const metadata =
'then' in promised_input.src ? (await promised_input.src).default : promised_input.src;
const metadata = 'then' in promised_input.src ? (await promised_input.src).default : promised_input.src;
return metadata.src;
};

Expand Down
10 changes: 3 additions & 7 deletions src/content/docs/cachyos_basic/download.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ If you're currently on Windows:
3. Type the following command: certUtil -hashfile full_iso_name.iso SHA256

e.g:

```powershell
certUtil -hashfile cachyos-kde-linux-230813.iso SHA256
```
Expand All @@ -41,7 +40,6 @@ Verification from any Linux distribution:
2. Type the following command: `sha256sum full_iso_name.iso`:

e.g:

```sh
sha256sum cachyos-kde-linux-230319.iso
```
Expand All @@ -63,13 +61,11 @@ To verify the authenticity of the ISO file to be sure that the actual one has be
```

2. Download the ISO file and its `.sig` signature file and run the following command (by replacing `full_iso_name.iso` with the actual ISO filename):

```shell
gpg --verify full_iso_name.iso.sig full_iso_name.iso
```

If you get a **Good signature** output, the ISO file is genuine:

```
gpg: Signature made Mo 01 Apr 2024 14:13:30 CEST
gpg: using RSA key 882DCFE48E2051D48E2562ABF3B607488DB35A47
Expand All @@ -89,8 +85,8 @@ If the output does not return **Good signature** string or the key ID does not m

CachyOS ISOs can be downloaded from the following sources:

- [Website](https://cachyos.org/download)
- [SourceForge](https://sourceforge.net/projects/cachyos-arch/files/)
- [CachyOS Mirror](https://mirror.cachyos.org/ISO/)
* [Website](https://cachyos.org/download)
* [SourceForge](https://sourceforge.net/projects/cachyos-arch/files/)
* [CachyOS Mirror](https://mirror.cachyos.org/ISO/)

Both online and offline installers are provided for your convenience.
4 changes: 3 additions & 1 deletion src/content/docs/cachyos_basic/why_cachyos.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ By default, we provide our own applications, such as CachyOS Hello or CachyOS Pa
among others to simplify and enhance your Linux experience. For example, CachyOS Hello provides options to update your system, enable services and rank the mirrors. Package Installer will help you to install packages.
CachyOS also has a really good and friendly Discord community that helps each other. Join us at [Discord](https://discord.com/invite/cachyos-862292009423470592) or our [forum](https://discuss.cachyos.org/)

## CachyOS Applications
CachyOS Applications
--------------------

- **Cachy Browser**: Browser based on Firefox, with a more secure config and patches from Gentoo and Librewolf.
- **cachyos-kernel-manager**: Easily install kernels from the repository or configure your own kernel and include your own patches.
- **CachyOS Hello**: Application for controlling tweaks, applying fixes, package installation and more information about CachyOS.
- **CachyOS-ApplicationInstaller**: GUI for an easy installation of commonly used applications.
- **cachyos-rate-mirrors**: Automatically rank Arch and CachyOS mirrors for optimal download speeds.
- **systemd-boot-manager**: Automatically generates new entries for the systemd-boot-manager and can be easily configured in `/etc/sdboot-manage.conf`.

25 changes: 12 additions & 13 deletions src/content/docs/changelogs/cli_installer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,40 @@
title: CachyOS CLI Installer Chagelog
description: Changelogs CLI Installer
---

# 0.8.4

## Features ✨

- **Improved Partition Handling:** Significant refactoring and improvements have been made to how the installer handles partitions, leading to better accuracy and reliability.
- **Improved Partition Handling:** Significant refactoring and improvements have been made to how the installer handles partitions, leading to better accuracy and reliability.
- **Kernel Parameter Generation:** The installer now automatically generates kernel parameters based on the detected partition scheme.
- **Enhanced `gucc` Library:** The `gucc` library has been significantly enhanced, now encompassing refind installation and configuration capabilities.
- **Enhanced `gucc` Library:** The `gucc` library has been significantly enhanced, now encompassing refind installation and configuration capabilities.

## Chores 🧹

- **Clang-Format and Clang-Tidy:** Codebase consistency and quality have been improved through the application of clang-format and clang-tidy.
- **Refactoring with String Views:** Several areas of the codebase now utilize string_view literals for improved performance and readability.
- **Doctest Implementation:** C asserts have been replaced with doctest for more robust and informative testing.
- **Refactoring with String Views:** Several areas of the codebase now utilize string_view literals for improved performance and readability.
- **Doctest Implementation:** C asserts have been replaced with doctest for more robust and informative testing.
- **Refactored Tests:** Test suites have been refactored for clarity and maintainability.
- **Refind Handling in `gucc`:** Refind-related code has been refactored and moved into the `gucc` library for better organization and maintainability.
- **Refind Handling in `gucc`:** Refind-related code has been refactored and moved into the `gucc` library for better organization and maintainability.

## Bug Fixes 🐛

- **Btrfs Subvolume Detection:** Issues with detecting existing btrfs subvolumes have been resolved.
- **Partition Information Accuracy:** Improvements have been made to ensure the accurate collection and display of partition information.
- **Root Mount Point for Refind:** A bug affecting the root mount point used by refind has been fixed.
- **Root Mount Point for Refind:** A bug affecting the root mount point used by refind has been fixed.
- **UUID Detection:** The process of detecting partition UUIDs during initialization has been improved.
- **Meson Build Fixes:** Issues encountered during the meson build process have been addressed.
- **Btrfs Subvolume Appending:** A bug related to appending btrfs subvolumes in development environments has been fixed.
- **Rootfs in Predefined Configurations:** An issue with the rootfs of partition schemes derived from predefined configurations has been resolved.
- **Refind Read-Write Mounting:** Ensured that refind mounts the necessary partitions with read-write permissions.
- **Meson Build Fixes:** Issues encountered during the meson build process have been addressed.
- **Btrfs Subvolume Appending:** A bug related to appending btrfs subvolumes in development environments has been fixed.
- **Rootfs in Predefined Configurations:** An issue with the rootfs of partition schemes derived from predefined configurations has been resolved.
- **Refind Read-Write Mounting:** Ensured that refind mounts the necessary partitions with read-write permissions.

# 0.8.3

## Chores 🧹

- Updated the CPR dependency to a newer version for improved functionality.
- Explicitly instructed CTRE (Compile Time Regular Expressions library) to utilize the C++23 standard for consistency and potential performance enhancements.
- Increased the connection check timeout in the utilities section to accommodate potential network delays or slow responses.
- Increased the connection check timeout in the utilities section to accommodate potential network delays or slow responses.

# 0.8.2

Expand All @@ -58,7 +57,7 @@ description: Changelogs CLI Installer

## Chores 🧹

- Removed unnecessary ucode logic related to refind, streamlining the codebase.
- Removed unnecessary ucode logic related to refind, streamlining the codebase.

# 0.8.0

Expand Down
Loading

0 comments on commit 7256e5b

Please sign in to comment.