omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
711 stars 156 forks source link

Add snapcraft.yaml #184

Closed mikehwang closed 1 year ago

mikehwang commented 5 years ago

I've taken the first step in wrapping imposm3 in a snap by adding a snapcraft.yaml for the stable 0.5.0 build. imposm3 is a great tool (thank you!) that can be better accessible if wrapped in a snap. Note that the grade is devel and confinement is devmode since I thought you'd want to control the release to the snapcraft store.

$ cd imposm3
$ snapcraft                                                                                                                                                                                                                                                               
Launching a VM.                                                                                                                                                                                                                                                                                                        
Skipping pull imposm3 (already ran)                    
Skipping build imposm3 (already ran)                                               
Staging imposm3    
Priming imposm3                                                             
Snapping 'imposm3' |                                                                                                                                                                                                                                                                                    
Snapped imposm3_0.5.0_amd64.snap                         
$ sudo snap install --dangerous --devmode imposm3_0.5.0_amd64.snap
[sudo] password for mhwang:                                                    
imposm3 0.5.0 installed                                             
$ imposm3 --help                                          
Usage: /snap/imposm3/x1/bin/imposm3 COMMAND [args]                                                     

Available commands:                        
        import                                                           
        diff                                                
        run                                                            
        query-cache                                              
        version                                          
[Dec 20 23:49:59] invalid command: '--help' 
mikehwang commented 5 years ago

I didn't make any changes to the go-lang code so I'm not sure why the build is failing...

olt commented 1 year ago

Closing this as we won't support platforms that we do not use our self.