melpa / package-build

Tools for assembling a package archive
https://github.com/melpa/melpa
25 stars 34 forks source link

file already exists error for single packages #23

Closed milkypostman closed 6 years ago

milkypostman commented 6 years ago

something about how single file packages are being built causes an error when the file is written,

~/s/melpa ❯❯❯ make recipes/ac-haskell-process
 • Building package ac-haskell-process ...
Package: ac-haskell-process
Fetcher: github
Source:  https://github.com/purcell/ac-haskell-process.git

Cloning https://github.com/purcell/ac-haskell-process.git to /Users/d/src/melpa/working/ac-haskell-process/
Built ac-haskell-process in 2.519s, finished at Mon Aug  6 18:54:00 2018
 ✓ Success:
16 -rw-r--r--  1 d  staff   4.6K Aug  6 18:53 packages/ac-haskell-process-20150423.902.el
 8 -rw-r--r--  1 d  staff   350B Aug  6 18:53 packages/ac-haskell-process-20150423.902.entry
 8 -rw-r--r--  1 d  staff   967B Aug  6 18:54 packages/ac-haskell-process-badge.svg
 8 -rw-r--r--  1 d  staff   289B Aug  6 18:53 packages/ac-haskell-process-readme.txt

~/s/melpa ❯❯❯ make recipes/ac-haskell-process
 • Building package ac-haskell-process ...
Package: ac-haskell-process
Fetcher: github
Source:  https://github.com/purcell/ac-haskell-process.git

Updating /Users/d/src/melpa/working/ac-haskell-process/
File already exists: /Users/d/src/melpa/packages/ac-haskell-process-20150423.902.el
make: [recipes/ac-haskell-process] Error 255 (ignored)

@tarsius can you do a quick fix for this? i'm guessing the write function just needs a flag set to overwrite now that we're always writing the file.

tarsius commented 6 years ago

I've just pushed a fix.

milkypostman commented 6 years ago

Thanks

On Aug 6, 2018, at 21:25, Jonas Bernoulli notifications@github.com wrote:

I've just pushed a fix.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.