composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist
MIT License
3.11k stars 510 forks source link

The package downloaded in satis is not identical with packagist.org #535

Open lubobill1990 opened 5 years ago

lubobill1990 commented 5 years ago

Even though the check sum is all the same.

Here is the link from my satis

https://satis.asia.zhishiq.com/dist/flarum/approval/flarum-approval-88da3ab9e1fd437a48287001a251fc3c1dc542ad-zip-26e3c1.zip

and it's the package from packagist.org https://codeload.github.com/flarum/approval/legacy.zip/88da3ab9e1fd437a48287001a251fc3c1dc542ad

There is not js/dist in my repo image

lubobill1990 commented 5 years ago

my satis config is like:

{
        "name": "flarum repos",
        "homepage": "https://satis.asia.zhishiq.com",
        "repositories": [

                {
                        "type": "composer",
                        "url": "https://packagist.org"
                }
        ],
        "require": {
                "flarum/approval": "dev-master"
        },
        "require-dependencies": false,
        "require-dev-dependencies": false,
        "archive": {
                "format": "zip",
                "directory": "dist",
                "skip-dev": false
        }
}
boldhedgehog commented 4 years ago

Try to add "rearchive": false to archive

lubobill1990 commented 4 years ago

Thanks, I will have a try.