{"action":"created","issue":{"url":"https://api.github.com/repos/heiseonline/shariff/issues/273","repository_url":"https://api.github.com/repos/heiseonline/shariff","labels_url":"https://api.github.com/repos/heiseonline/shariff/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/heiseonline/shariff/issues/273/comments","events_url":"https://api.github.com/repos/heiseonline/shariff/issues/273/events","html_url":"https://github.com/heiseonline/shariff/issues/273","id":281998357,"node_id":"MDU6SXNzdWUyODE5OTgzNTc=","number":273,"title":"Packaged versions of 1.26.2 do contain wrong build","user":{"login":"derhasi","id":118502,"node_id":"MDQ6VXNlcjExODUwMg==","avatar_url":"https://avatars0.githubusercontent.com/u/118502?v=4","gravatar_id":"","url":"https://api.github.com/users/derhasi","html_url":"https://github.com/derhasi","followers_url":"https://api.github.com/users/derhasi/followers","following_url":"https://api.github.com/users/derhasi/following{/other_user}","gists_url":"https://api.github.com/users/derhasi/gists{/gist_id}","starred_url":"https://api.github.com/users/derhasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derhasi/subscriptions","organizations_url":"https://api.github.com/users/derhasi/orgs","repos_url":"https://api.github.com/users/derhasi/repos","events_url":"https://api.github.com/users/derhasi/events{/privacy}","received_events_url":"https://api.github.com/users/derhasi/received_events","type":"User","site_admin":false},"labels":[{"id":146743761,"node_id":"MDU6TGFiZWwxNDY3NDM3NjE=","url":"https://api.github.com/repos/heiseonline/shariff/labels/bug","name":"bug","color":"fc2929","default":true},{"id":146743767,"node_id":"MDU6TGFiZWwxNDY3NDM3Njc=","url":"https://api.github.com/repos/heiseonline/shariff/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-14T06:49:00Z","updated_at":"2018-05-31T05:42:37Z","closed_at":"2018-05-31T05:42:37Z","author_association":"NONE","body":"When using asset-packagist.org for downloading shariff in a composer project via `bower-asset/shariff` or `npm-asset/shariff`, the downloaded dist package cotnains code of `1.26.0` instead of `1.26.2`.\r\n\r\nSee https://asset-packagist.org/package/npm-asset/shariff and https://asset-packagist.org/package/bower-asset/shariff. The registries seem to refer to https://github.com/heiseonline/shariff/archive/1.26.2.tar.gz and https://github.com/heiseonline/shariff/archive/1.26.2.zip . Both of them hold the \"old\" code. \r\n\r\nBut on the github release page https://github.com/heiseonline/shariff/releases/tag/1.26.2 two additional packages are listed as https://github.com/heiseonline/shariff/releases/download/1.26.2/shariff-1.26.2.tar.gz and https://github.com/heiseonline/shariff/releases/download/1.26.2/shariff-1.26.2.zip . Those packages hold the \"new\" code, but are not referenced in bower or npm.\r\n\r\n## Workaround\r\n\r\n1. Add the package definition to root composer.json manually:\r\n```json\r\n{\r\n    \"repositories\": [\r\n        {\r\n            \"type\": \"package\",\r\n            \"package\": {\r\n                \"name\": \"bower-asset/shariff\",\r\n                \"version\": \"1.26.2\",\r\n                \"dist\": {\r\n                    \"type\": \"zip\",\r\n                    \"url\": \"https://github.com/heiseonline/shariff/releases/download/1.26.2/shariff-1.26.2.zip\"\r\n                },\r\n                \"type\": \"bower-asset\",\r\n                \"license\": [\r\n                    \"MIT\"\r\n                ]\r\n            }\r\n        },\r\n        {\r\n            \"type\": \"composer\",\r\n            \"url\": \"https://packages.drupal.org/8\"\r\n        },\r\n        {\r\n            \"type\": \"composer\",\r\n            \"url\": \"https://asset-packagist.org\"\r\n        }\r\n    ]\r\n}\r\n```\r\n2. `composer remove bower-asset/shariff` and maybe all packages that depend on it.\r\n3. `composer clear-cache`\r\n4. `composer require bower-asset/shariff:1.26.2`"},"comment":{"url":"https://api.github.com/repos/heiseonline/shariff/issues/comments/393411103","html_url":"https://github.com/heiseonline/shariff/issues/273#issuecomment-393411103","issue_url":"https://api.github.com/repos/heiseonline/shariff/issues/273","id":393411103,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzQxMTEwMw==","user":{"login":"compeak","id":1942208,"node_id":"MDQ6VXNlcjE5NDIyMDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1942208?v=4","gravatar_id":"","url":"https://api.github.com/users/compeak","html_url":"https://github.com/compeak","followers_url":"https://api.github.com/users/compeak/followers","following_url":"https://api.github.com/users/compeak/following{/other_user}","gists_url":"https://api.github.com/users/compeak/gists{/gist_id}","starred_url":"https://api.github.com/users/compeak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compeak/subscriptions","organizations_url":"https://api.github.com/users/compeak/orgs","repos_url":"https://api.github.com/users/compeak/repos","events_url":"https://api.github.com/users/compeak/events{/privacy}","received_events_url":"https://api.github.com/users/compeak/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T05:42:37Z","updated_at":"2018-05-31T05:42:37Z","author_association":"MEMBER","body":"This should be fixed in the recent released."}}
{"actor":{"display_login":"compeak"}}