realshadow / satis-control-panel Goto Github PK
View Code? Open in Web Editor NEWSatis Control Panel (SCP) is a simple web UI for managing your Satis Repository for Composer Packages.
Satis Control Panel (SCP) is a simple web UI for managing your Satis Repository for Composer Packages.
Packagist doesn't show up any version except dev-master.
When ever I hit the build button, I get a json file for public and private created in my storage/app folder, but nothing under public/public or public/private folders.
Am I missing something? The only thing I can't get working here is the npm server, which I'm not interested in anyway for my production environment.
Permissions are fine, everything seemed to set up fine, I can access the control panel fine and add repos fine. When I hit build the only thing that doesn't happen is a resulting satis file that can be read from the browser.
Has anyone else come across this issue?
Minor feature request to add confirmation of delete repository & packagist cache or undo button or actions history at least.
It's not critical on development stage, but could be painfull on production phase.
The Repository model set's the URL to lowercase which causes issues on the path type and VCS servers that are path-case-sensitive, like Linux machines.
As the title states, the path (/local/path/to/repo) won't validate the with the URL validation when trying to use Path or Artifact types.
I'd recommend dropping the URL validation all together and let the user assume they are entering what they need. URL validation also currently requires a URL ending in .git, which precludes Mercurial repos from working.
I think it miss some infos about how to configure exactly your webserver.
How the DocumentRoot is setup ? some rewrite rules ? laravel specific setup ?
After many hours i ended up with a 404 on /api ans i feel a bit frustrated
[root@localhost satis-control-panel]# npm run server
> @ server /var/www/vhosts/satis.example.com/satis-control-panel
> node node/server.js
fs.js:439
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory ''
at Object.fs.openSync (fs.js:439:18)
at Object.fs.readFileSync (fs.js:290:15)
at Object.<anonymous> (/var/www/vhosts/satis.example.com/satis-control-panel/node/server.js:11:15)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
npm ERR! weird error 8
npm ERR! not ok code 0
[root@localhost satis-control-panel]# node -v
v0.10.42
[root@localhost satis-control-panel]# npm -v
1.3.6
When trying to install I eventually get an error
Running
composer create-project realshadow/satis-control-panel
Throws
PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /home/dlamers/satis-control-panel/vendor/laravel/framework/src/Illuminate/Container/Container.php:741
Stack trace:
It is thrown right after composer fires php artisan optimize
Why not?
Hi,
Not sure if this is my configuration, but I've gone through all the steps in the README file, and I'm getting the following error when running yarn start
on Node v7.10.0:
yarn start v0.21.2
$ webpack-dev-server --host 0.0.0.0 --port 9001 --hot
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.entry should be one of these:
object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
The entry point(s) of the compilation.
Details:
* configuration.entry should be an object.
* configuration.entry should be a string.
* configuration.entry should NOT have duplicate items (items ## 1 and 2 are identical) ({
"keyword": "uniqueItems",
"dataPath": ".entry",
"schemaPath": "#/definitions/common.nonEmptyArrayOfUniqueStringValues/uniqueItems",
"params": {
"i": 2,
"j": 1
},
"message": "should NOT have duplicate items (items ## 1 and 2 are identical)",
"schema": true,
"parentSchema": {
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"data": [
"/Users/adam/.nvm/versions/node/v7.10.0/lib/node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:9001",
"webpack/hot/dev-server",
"webpack/hot/dev-server",
"./resources/assets/typescript/app.tsx",
"./resources/assets/typescript/flux/components/ActionPanel.tsx",
"./resources/assets/typescript/flux/components/FormElements.tsx",
"./resources/assets/typescript/flux/components/Forms.tsx",
"./resources/assets/typescript/flux/components/InfoPanel.tsx",
"./resources/assets/typescript/flux/components/Modal.tsx",
"./resources/assets/typescript/flux/components/Overlay.tsx",
"./resources/assets/typescript/flux/components/Packages.tsx",
"./resources/assets/typescript/flux/components/Repositories.tsx",
"./resources/assets/typescript/flux/mixins/EventHandler.tsx",
"./resources/assets/typescript/flux/mixins/Validation.tsx",
"./resources/assets/typescript/helpers/Validator.ts"
]
}).
[non-empty string]
* configuration.entry should be an instance of function
function returning an entry object or a promise..
- configuration.resolve.extensions[0] should not be empty.
error Command failed with exit code 1.
When I want to add a git repository using ssh instead of http(s) the form denies it.
I guess this is because the regexp checks for http(s).
Satis still can manage git repositories over ssh.
Every time when trying to build added VCS exception raising:
[Composer\Json\JsonValidationException]
The json config file does not match the expected JSON schema
Exception trace:
() at /home/ell/Development/satis-control-panel/vendor/composer/satis/src/Composer/Satis/Command/BuildCommand.php:282
Composer\Satis\Command\BuildCommand->check() at /home/ell/Development/satis-control-panel/vendor/composer/satis/src/Composer/Satis/Command/BuildCommand.php:128
Composer\Satis\Command\BuildCommand->execute() at /home/ell/Development/satis-control-panel/vendor/symfony/console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /home/ell/Development/satis-control-panel/vendor/symfony/console/Application.php:841
Symfony\Component\Console\Application->doRunCommand() at /home/ell/Development/satis-control-panel/vendor/symfony/console/Application.php:189
Symfony\Component\Console\Application->doRun() at /home/ell/Development/satis-control-panel/vendor/composer/satis/src/Composer/Satis/Console/Application.php:52
Composer\Satis\Console\Application->doRun() at /home/ell/Development/satis-control-panel/vendor/symfony/console/Application.php:120
Symfony\Component\Console\Application->run() at /home/ell/Development/satis-control-panel/bin/satis:26build [--repository-url [REPOSITORY-URL]] [--no-html-output] [--skip-errors] [--] [] [] []...
Satis version was updated and now control panel is not working properly:)
PHP Warning: require(/var/www/html/satis/bin/../vendor/composer/satis/src/bootstrap.php): failed to open stream: No such file or directory in /var/www/html/satis/bin/satis on line 7
PHP Fatal error: require(): Failed opening required '/var/www/html/satis/bin/../vendor/composer/satis/src/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/html/satis/bin/satis on line 7
bootstrap file was removed in latest satis release
Processed build commands are not logged, only empty log files are created even after manual satis triggering there is an output in cli.
There would be great to have console command for unit tests to truncate all the data after use case complete:
If you'll add package with trailing space - it will be added successfully but build will ignore this package.
Second issue that all this names will be registered as unique ones:
`realshadow/satis-control-panel`
`realshadow/satis-control-panel `
` realshadow/satis-control-panel `
Hello i ve made alll my configuration but I end up with 404 not found for both the UI or a curl request to the api.
I m using apache2 to host statis-control-panel my apache virtual host configurations is
<VirtualHost *:9001> ServerAdmin webmaster@localhost ServerName satis DocumentRoot /var/www/satis ErrorLog ${APACHE_LOG_DIR}/error_satis.log CustomLog ${APACHE_LOG_DIR}/access_satis.log combined </VirtualHost>
with a symbolic link satis -> /opt/satis-control-panel/public/
Node server is working fine and can acces the UI at http://my.domain/control-panel
but i get a
POST http://my.domain:9001/control-panel/api/package 404 (Not Found)
It will be great to have more information about packages like:
Hello I'm trying to install using composer. but there's an error in installation.
> node_modules/.bin/gulp init
fs.js:41
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:41:5
at req_ (/apps/www/php7_desenvolvimento/html/aplicacao/[--stability-dev]/node_modules/natives/index.js:143:24)
at Object.req [as require] (/apps/www/php7_desenvolvimento/html/aplicacao/[--stability-dev]/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/apps/www/php7_desenvolvimento/html/aplicacao/[--stability-dev]/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
Script node_modules/.bin/gulp init handling the post-install-cmd event returned with error code 1
Which Node version should I use?
would be great to get a feeling of this UI with some screenshots in the README
After installing the application, and attempted to add a public package (from packagist), I received this error;
Type error: Argument 1 passed to App\Satis\ConfigManager::_addOrUpdatePackage() must be an instance of App\Satis\Collections\PackageCollection, null given
As far as I can see, it appears that the \App\Satis\Model\Config
returns a null
for getRepositories
.
Am I missing something in the configuration?
Hello! After installing the project with "composer create-project realshadow/satis-control-panel scp" and running the "npm run build" command, trying to run the "npm start' give me the "sh: 1: webpack-dev-server: not found" error.
Inspecting the package.json file, I could see the command (npm start) mapping to the "webpack-dev-server (...)'.
The package assumes the environment to have a global installation of its dependencies? If yes, I think it does not seem interesting.
Has anyone faced with this problem?
In the satis configuration, the require property is an array by default "require":[]
, however, this fails validation as the schema requires it to be an object "require":{}
.
https://github.com/composer/satis/blob/master/res/satis-schema.json
We installed satis-control-panel for using it with composer.
It look like it's easier to have it using https unless you want to always have ""secure-http": "false"" in the composer.lock.
So we put the site under SSL with a self-signed cert but now is the thing : the node server.js is not able to handle https on requests. So either you d'ont use async builds, either you have a Mixed content error :
Is there a way where the node server can handle https ?
ttp://localhost:8000/control-panel output:
{"result":false,"message":""}
http://localhost:8000/control-panel/ is working well.
Hey guys,
are there any missing features you would like to see added in the near future?
It seems satis-control-panel is currently composering in "version": "1.0.0-alpha2" of Satis.
As far as I can tell, this version is showing symptoms of #377 and was resolved with #378. It is trying to mirror all of packagist when I only want private repositories.
I have asked them to issue a new release where this bug has been fixed, 1.0.0-alpha3. I have updated locally and it seems to have fixed this issue, but I am not certain if it is compatible.
The project's composer.lock contains the following snippets:
"platform": {
"php": ">=5.5.9"
},
"platform-overrides": {
"php": "5.5"
}
The version override causes a little conflict when attempting to install, like so :)
wobble@etikis:~/web$ composer create-project realshadow/satis-control-panel satis
Installing realshadow/satis-control-panel (1.0.2)
- Installing realshadow/satis-control-panel (1.0.2)
Loading from cache
Created project in satis
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- This package requires php >=5.5.9 but your PHP version (5.5) does not satisfy that requirement.
Problem 2
- Installation request for classpreloader/classpreloader 3.0.0 -> satisfiable by classpreloader/classpreloader[3.0.0].
- classpreloader/classpreloader 3.0.0 requires php >=5.5.9 -> your PHP version (5.6.11-1ubuntu3.1) overriden by "config.platform.php" version (5.5) does not satisfy that requirement.
Problem 3
- Installation request for laravel/framework v5.1.28 -> satisfiable by laravel/framework[v5.1.28].
- laravel/framework v5.1.28 requires php >=5.5.9 -> your PHP version (5.6.11-1ubuntu3.1) overriden by "config.platform.php" version (5.5) does not satisfy that requirement.
Problem 4
- Installation request for symfony/filesystem v3.0.1 -> satisfiable by symfony/filesystem[v3.0.1].
- symfony/filesystem v3.0.1 requires php >=5.5.9 -> your PHP version (5.6.11-1ubuntu3.1) overriden by "config.platform.php" version (5.5) does not satisfy that requirement.
Problem 5
- Installation request for symfony/yaml v3.0.1 -> satisfiable by symfony/yaml[v3.0.1].
- symfony/yaml v3.0.1 requires php >=5.5.9 -> your PHP version (5.6.11-1ubuntu3.1) overriden by "config.platform.php" version (5.5) does not satisfy that requirement.
Problem 6
- laravel/framework v5.1.28 requires php >=5.5.9 -> your PHP version (5.6.11-1ubuntu3.1) overriden by "config.platform.php" version (5.5) does not satisfy that requirement.
- barryvdh/laravel-ide-helper v2.1.2 requires illuminate/console 5.0.x|5.1.x|5.2.x -> satisfiable by laravel/framework[v5.1.28].
- Installation request for barryvdh/laravel-ide-helper v2.1.2 -> satisfiable by barryvdh/laravel-ide-helper[v2.1.2].
Fatal error: Uncaught ReflectionException: Class log does not exist in /vagrant/satis-control-panel/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741
I'm getting this error from a fresh install of this project running via a vagrant machine. Looking around, I see this error happens in Laravel for a myriad of reasons. Has this come up for any users of this project before?
What is the best way to stop build process? I've added too much ๐ฆ to build.
I'll just leave it here:
ps ax | grep "bin/satis build" | cut -b1-06 | xargs -t kill
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.