{"action":"created","issue":{"url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/1","repository_url":"https://api.github.com/repos/Elendev/nexus-composer-push","labels_url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/1/comments","events_url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/1/events","html_url":"https://github.com/Elendev/nexus-composer-push/issues/1","id":386823628,"node_id":"MDU6SXNzdWUzODY4MjM2Mjg=","number":1,"title":"package sources should be in a folder in the zip file instead of being in root","user":{"login":"cooperl22","id":12048268,"node_id":"MDQ6VXNlcjEyMDQ4MjY4","avatar_url":"https://avatars2.githubusercontent.com/u/12048268?v=4","gravatar_id":"","url":"https://api.github.com/users/cooperl22","html_url":"https://github.com/cooperl22","followers_url":"https://api.github.com/users/cooperl22/followers","following_url":"https://api.github.com/users/cooperl22/following{/other_user}","gists_url":"https://api.github.com/users/cooperl22/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperl22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperl22/subscriptions","organizations_url":"https://api.github.com/users/cooperl22/orgs","repos_url":"https://api.github.com/users/cooperl22/repos","events_url":"https://api.github.com/users/cooperl22/events{/privacy}","received_events_url":"https://api.github.com/users/cooperl22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-03T13:43:13Z","updated_at":"2018-12-11T09:45:17Z","closed_at":null,"author_association":"NONE","body":"Hi @Elendev.\r\n\r\nZip files generated by this package before being sent to Nexus Repository have files directly stored at root path.\r\n\r\nIt seems that packages from packagist (composer public repository) have a root folder in the zip file.\r\n\r\nhere what happens with dependency while composer install or update from Nexus then:\r\n```bash\r\nPackage operations: 101 installs, 0 updates, 0 removals\r\n  - Installing cooperl/laravel-monitoring (0.0.1): Downloading (100%)\r\n    Failed to execute unzip -qq  '/home/************/vendor/************/laravel-monitoring/9f4e0aea62e010dcfa22cf6199eb91d3.zip' -d '/home/************/vendor/composer/81d64773'\r\n\r\nwarning:  stripped absolute path spec from /composer.json\r\nwarning:  stripped absolute path spec from /src/LumenServiceProvider.php\r\nwarning:  stripped absolute path spec from /src/Contracts/Monitorer.php\r\nwarning:  stripped absolute path spec from /src/MonitoringLog.php\r\nwarning:  stripped absolute path spec from /src/Monitorer.php\r\nwarning:  stripped absolute path spec from /src/ServiceProvider.php\r\nwarning:  stripped absolute path spec from /src/Concerns/Monitorable.php\r\nwarning:  stripped absolute path spec from /src/Middleware/Monitore.php\r\nwarning:  stripped absolute path spec from /LICENSE.md\r\nwarning:  stripped absolute path spec from /config/monitoring.php\r\nwarning:  stripped absolute path spec from /README.md\r\n\r\n    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)\r\n    Unzip with unzip command failed, falling back to ZipArchive class\r\n```\r\n\r\nBest regards,"},"comment":{"url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/comments/446137552","html_url":"https://github.com/Elendev/nexus-composer-push/issues/1#issuecomment-446137552","issue_url":"https://api.github.com/repos/Elendev/nexus-composer-push/issues/1","id":446137552,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjEzNzU1Mg==","user":{"login":"Elendev","id":1331273,"node_id":"MDQ6VXNlcjEzMzEyNzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1331273?v=4","gravatar_id":"","url":"https://api.github.com/users/Elendev","html_url":"https://github.com/Elendev","followers_url":"https://api.github.com/users/Elendev/followers","following_url":"https://api.github.com/users/Elendev/following{/other_user}","gists_url":"https://api.github.com/users/Elendev/gists{/gist_id}","starred_url":"https://api.github.com/users/Elendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elendev/subscriptions","organizations_url":"https://api.github.com/users/Elendev/orgs","repos_url":"https://api.github.com/users/Elendev/repos","events_url":"https://api.github.com/users/Elendev/events{/privacy}","received_events_url":"https://api.github.com/users/Elendev/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T09:45:17Z","updated_at":"2018-12-11T09:45:17Z","author_association":"OWNER","body":"It looks like for the `0.0.2` the `composer.json` was not found.\r\nWhen the Nexus plugin doesn't find the `composer.json` file in the archive, it tries to generate an empty one.\r\n\r\nOn which system are you running composer ? Is it a Windows ?\r\nIt might be related to this issue: `The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)`\r\n\r\nWhat's the exact content of the generated `.zip` file (the file tree) ?"}}
{"actor":{"display_login":"Elendev"}}