- Cleaned up imports
- Various bug fixes and improved performance on package reading/writing - Corrected CHANGELOG.md - Updated dependency `Symfony/polyfill-mbstring` to 1.28.0 - Updated dependency `Symfony/polyfill-uuid` to 1.28.0 - Updated dependency `Symfony/Process` to 6.3.4 - Updated dependency `Symfony/Uid` to 6.3.0 - Updated dependency `Symfony/Yaml` to 6.3.3 - Added support for Gitea repositories - Added support for Packagist repositories - Added a new default Gitea repository nocturn9x at git.nocturn9x.space - Added a new default Gitea repository martinvlba at git.martinvlba.eu - Added a new default Gitea repository kuny at git.it-kuny.ch - Added dependency composer/semver version 3.4.0 for composer version comparison compatibility - Added a new class \ncc\Classes\ArchiveExtractor to extract multiple archive types - Refactored \ncc\Objects\RemoteRepository - Refactored the repository system - Refactored Github's repository interface - Refactored Gitlab's repository interface - Refactored SourcesMenu in the CLI to use the new repository system - Updated dependency nikic/php-parser to version 4.17.1 - Added a simple security measure in \ncc\Objects\Value\Entry to delay returns randomly when the password is incorrect - Refactored the CLI menu system to use a return exit code system - Updated the installer to remove unused components and installation steps - Updated dependency Symfony/Filesystem to 6.3.1 - Updated dependency Symfony/polyfill-ctype to 1.28.0 - Enforced credential storage security by applying 600 permissions to the storage file so that only the owner can read/write to the file; this will require root access to perform any operations on the credential file. A password will still be needed to decrypt entries in the file if any entries are encrypted. - Removed \ncc\Classes\NccExtension\Runner in favor of the new Execution Unit system - Removed \ncc\Managers\ExecutionPointerManager in favor of the new Execution Unit system
This commit is contained in:
parent
5da97e4b3d
commit
f62856b530
281 changed files with 12577 additions and 109543 deletions
50
src/config/default_repositories.json
Normal file
50
src/config/default_repositories.json
Normal file
|
@ -0,0 +1,50 @@
|
|||
[
|
||||
{
|
||||
"name": "n64",
|
||||
"type": "gitlab",
|
||||
"host": "git.n64.cc",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "packagist",
|
||||
"type": "packagist",
|
||||
"host": "packagist.org",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "github",
|
||||
"type": "github",
|
||||
"host": "api.github.com",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "gitlab",
|
||||
"type": "gitlab",
|
||||
"host": "gitlab.com",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "gitgud",
|
||||
"type": "gitlab",
|
||||
"host": "gitgud.io",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "nocturn9x",
|
||||
"type": "gitea",
|
||||
"host": "git.nocturn9x.space",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "martinvlba",
|
||||
"type": "gitea",
|
||||
"host": "git.martinvlba.eu",
|
||||
"ssl": true
|
||||
},
|
||||
{
|
||||
"name": "kuny",
|
||||
"type": "gitea",
|
||||
"host": "git.it-kuny.ch",
|
||||
"ssl": true
|
||||
}
|
||||
]
|
|
@ -13,75 +13,4 @@ ncc:
|
|||
|
||||
# The default logging level to use in the CLI
|
||||
# Values can be (silent, verbose, debug, info, warn, error or fatal)
|
||||
logging: "info"
|
||||
|
||||
# Configuration section for the PHP configuration that NCC will use to run
|
||||
php:
|
||||
# The main executable path for PHP that NCC should use
|
||||
executable_path: "/usr/bin/php"
|
||||
|
||||
git:
|
||||
# if git is enabled or not
|
||||
enabled: true
|
||||
|
||||
# The executable path of git
|
||||
executable_path: "/usr/bin/git"
|
||||
|
||||
# When enabled, NCC will use it's builtin version of composer
|
||||
# to execute composer tasks, if disabled it will fall back to
|
||||
# the `executable_path` option and attempt to use that specified
|
||||
# location of composer
|
||||
composer:
|
||||
|
||||
# if composer is enabled or not
|
||||
enabled: true
|
||||
|
||||
# If internal composer is enabled (install must be executed with --install-composer)
|
||||
enable_internal_composer: true
|
||||
|
||||
# The executable path to the system's installed composer executable
|
||||
executable_path: "/home/user/composer.phar"
|
||||
|
||||
# Composer options
|
||||
options:
|
||||
|
||||
# Do not output any message
|
||||
quiet: false
|
||||
|
||||
# Disable ANSI output
|
||||
no_ansi: true
|
||||
|
||||
# Do not ask any interactive question
|
||||
no_interaction: true
|
||||
|
||||
# Display timing and memory usage information
|
||||
profile: false
|
||||
|
||||
# Skips the execution of all scripts defined in composer.json file.
|
||||
no_scripts: true
|
||||
|
||||
# Prevent use of the cache
|
||||
no_cache: false
|
||||
|
||||
# 1 normal output, 2 for more verbose output and 3 for debug output, 4 to match NCC's logging level
|
||||
logging: 1
|
||||
|
||||
# NCC Composer Extension options
|
||||
extension:
|
||||
# If licenses should be displayed in the conversion process of a composer package
|
||||
display_licenses: true
|
||||
|
||||
# If authors should be displayed in the conversion process of a composer package
|
||||
display_authors: true
|
||||
|
||||
# If NCC should try to install suggested packages
|
||||
try_install_suggested: true
|
||||
|
||||
# Supported runners executable paths
|
||||
runners:
|
||||
php: "/usr/bin/php"
|
||||
bash: "/usr/bin/bash"
|
||||
sh: "/usr/bin/sh"
|
||||
python: "/usr/bin/python"
|
||||
python3: "/usr/bin/python3"
|
||||
python2: "/usr/bin/python2"
|
||||
logging: "info"
|
Loading…
Add table
Add a link
Reference in a new issue