upt icon indicating copy to clipboard operation
upt copied to clipboard

haiku: Add Haiku pkgman support

Open kallisti5 opened this issue 4 years ago • 2 comments

kallisti5 avatar Dec 09 '20 23:12 kallisti5

/Data/Code/upt> uname -a
Haiku shredder 1 hrev54767 Dec  9 2020 07:46:05 x86_64 x86_64 Haiku
./target/debug/upt list -i | head -10
Status  Name                     Description                                                                             
-------------------------------------------------------------------------------------------------------------------------
s       a52dec                   An ATSC A/52 decoding library                                                           
s       artpaint                 A painting and image-processing program                                                 
s       aspell                   A free and open source spell checker                                                    
s       aspell_en                English dictionary for aspell program/library                                           
s       attica                   A library providing access to Open Collaboration services                               
s       autoconf                 A tool to automatically configure source code                                           
s       automake                 A tool for generating "Makefile.in" from "Makefile.am"                                  
s       bash                     The GNU Bourne Again Shell                   
./target/debug/upt install vim
100% repochecksum-1 [65 bytes]
Validating checksum for Haiku...done.
100% repochecksum-1 [64 bytes]
Validating checksum for HaikuPorts...done.
vim-8.2.1923-1 from repository system is already installed.
Nothing to do.
/Data/Code/upt> ./target/debug/upt remove vim
The following changes will be made:
  in system:
    uninstall package vim-8.2.1923-1
Continue? [yes/no] (yes) : 

kallisti5 avatar Dec 09 '20 23:12 kallisti5

I don't know haiku very well. Give me some time to consider whether to merge.

sigoden avatar Dec 12 '20 07:12 sigoden

Upt only supports the OS built-in package management tool, so it is closed.

sigoden avatar Dec 07 '23 21:12 sigoden

To clarify, hpkg / pkgman is the default package management tool on Haiku.

Also, it seemed likely you would accept patches for Haiku since in your own words:

Upt is a universal package management tool for any operating system

kallisti5 avatar Dec 11 '23 02:12 kallisti5

I'm sorry I missed the Haiku.

Can you resubmit a PR? I am happy to support Haiku. @kallisti5

sigoden avatar Dec 11 '23 03:12 sigoden