[PR #428] generate_app_name in build.func #2528

Closed
opened 2025-11-20 05:30:30 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/428

State: closed
Merged: No


Description

Adding an ascii generation. Not so much code is needed anymore and cleans up the CT.sh.

In addition, the PR of new scripts no longer causes the problem that the wrong ASCII is used.

As Example:
https://github.com/MickLesk/Proxmox_DEV/blob/main/ct/nextpvr.sh

You can test it with:

 bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/nextpvr.sh)"

Only this needed:

function header_info {
clear
generate_app_name "AppName"
}
header_info

Breaking Change, because i use the tool: figlet
Its a very small tool.

=> Create Documentation:
Users can created the tool self with "apt-get install figlet" or my script do it (without output)

Log

Need to get 137 kB of archives.
After this operation, 757 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 figlet amd64 2.2.5-3+b1 [137 kB]
Fetched 137 kB in 0s (665 kB/s)

Fixes # (issue)

Type of change

Please check the relevant option(s):

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

Additional Information (optional)

Provide any additional context or screenshots about the feature or fix here.

image

**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/428 **State:** closed **Merged:** No --- ## Description Adding an ascii generation. Not so much code is needed anymore and cleans up the CT.sh. In addition, the PR of new scripts no longer causes the problem that the wrong ASCII is used. As Example: https://github.com/MickLesk/Proxmox_DEV/blob/main/ct/nextpvr.sh You can test it with: ```bash bash -c "$(wget -qLO - https://raw.githubusercontent.com/MickLesk/Proxmox_DEV/refs/heads/main/ct/nextpvr.sh)" ``` Only this needed: ```bash function header_info { clear generate_app_name "AppName" } header_info ``` Breaking Change, because i use the tool: figlet Its a very small tool. => Create Documentation: Users can created the tool self with "apt-get install figlet" or my script do it (without output) Log ```sh Need to get 137 kB of archives. After this operation, 757 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 figlet amd64 2.2.5-3+b1 [137 kB] Fetched 137 kB in 0s (665 kB/s) ``` Fixes # (issue) ## Type of change Please check the relevant option(s): - [ ] Bug fix (non-breaking change that resolves an issue) - [x] New feature (non-breaking change that adds functionality) - [x] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts.) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [x] Documentation updated (I have updated any relevant documentation) ## Additional Information (optional) Provide any additional context or screenshots about the feature or fix here. ![image](https://github.com/user-attachments/assets/fed46b8e-b1e3-4173-a6ff-4ea140e91c31)
saavagebueno added the pull-request label 2025-11-20 05:30:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2528