Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

butler push --dereference failure ("Two entries have the same name")

A topic by pancelor created Jul 14, 2020 Views: 311
Viewing posts 1 to 1
(+1)

I have a folder called topush that has everything I want to push in it. It contains two normal files and one symlink named “data”. (I’m developing on windows; this symlink was created with mklink topush\data data)

When I try to push using butler push --dereference, it fails in a bizarre way:

$ dir topush
data  dolphin.dll  win32_dolphin.exe

$ butler walk topush
- dolphin.dll
- win32_dolphin.exe
- data
√ 876.00 KiB (2 files, 0 dirs, 1 symlinks) walked in a few seconds

$ butler walk topush --dereference
- data/sprite_atlas.txt
- data/tileset.bmp
- dolphin.dll
- win32_dolphin.exe
√ 966.74 KiB (4 files, 2 dirs, 0 symlinks) walked in a few seconds

$ butler push topush pancelor/purple-gun-game:stable --dereference
∙ For channel `stable`: last build is 279215, downloading its signature
+--------------------------------------------------------------+
|                      Validation failed                       |
+--------------------------------------------------------------+
| (C:\Users\andrew\src\dolphin\topush) cannot be pushed,       |
| because it is invalid.                                       |
|                                                              |
| If you're pushing a .zip file, try pushing a folder directly |
| instead. Pushing a folder is not only faster, it eliminates  |
| a whole class of errors.                                     |
|                                                              |
| The errors found duration validation follow.                 |
+--------------------------------------------------------------+
Invalid container, found the following problems:
Two entries have the same name:
drwxrwxrwx          - data/
drwxrwxrwx          - data/
Refusing to push invalid container (see above)