imposm3 icon indicating copy to clipboard operation
imposm3 copied to clipboard

Add snapcraft.yaml

Open mikehwang opened this issue 6 years ago • 1 comments

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 avatar Dec 21 '18 05:12 mikehwang

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

mikehwang avatar Dec 21 '18 05:12 mikehwang

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

olt avatar Aug 23 '22 11:08 olt