pktools replacement (was: Package managers)

Old stuff that should not bother anyone anymore
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Package managers

Post by thenktor » 10. Jun 2009, 10:07

As gapan, JRD and me like spkg very much, we should add it to the facts section!

And now we should think about repository manager. I'll open a new thread for it.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 10. Jun 2009, 16:11

Here are the shiny new pkgtools:
http://thenktor.dyndns.org/packages/pkgtools/
http://thenktor.dyndns.org/packages/spkg/

Complete with wrapper scripts.

Upgrade:
1. install spkg package
2. upgrade pktools with spkg -u command
3. reinstall spkg package with spkg -u --reinstall
4. hope the best :lol:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 10. Jun 2009, 17:25

Why step 3?

I would prefer it if the pkgtools package was named like pkgtools-slack or something like that. Users might "upgrade" it with the original pkgtools otherwise.

And I don't get why the explodepkg, makepkg and pkgtool manpages change names to slack-*, no reason to rename the tools, no reason to rename the manpages.
Image
Image

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 10. Jun 2009, 19:06

And a completely different idea... :D

Put everything in one package named pkgtools!

And... do we really need the original installpkg, removepkg, upgradepkg?
Image
Image

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 10. Jun 2009, 21:14

Or... name it pkgtools-spkg! I can't make up my mind, can I? :P
Image
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 11. Jun 2009, 03:12

Step 3 was because: upgrading pkgtools with new version would delete installpkg, upgradepkg, removepkg. So you have to reinstall spkg to provide these tools again.
I've thought about creating one single package, but I didn't like it. Let me explain tomorroe. I'm drunk right now :oops:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 11. Jun 2009, 03:58

thenktor wrote:Step 3 was because: upgrading pkgtools with new version would delete installpkg, upgradepkg, removepkg.
No, it wouldn't!
Image
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 11. Jun 2009, 12:49

gapan wrote:And I don't get why the explodepkg, makepkg and pkgtool manpages change names to slack-*, no reason to rename the tools, no reason to rename the manpages.
My fault ;)
gapan wrote:And... do we really need the original installpkg, removepkg, upgradepkg?
1. Doesn't harm to have them (only few kb)
2. spkg doesn't support all command line options
gapan wrote:No, it wouldn't!
You're right.


Should we use:
slack-pkgtools + spkg
or
pkgtools
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
gapan
Salix Wizard
Posts: 5531
Joined: 6. Jun 2009, 17:40

Re: pktools replacement (was: Package managers)

Post by gapan » 11. Jun 2009, 14:06

I would say have just one package, name it just spkg, or just pkgtools-spkg, have it also include explodepkg, makepkg and pkgtool and make the package conflict with the original pkgtools. So if someone wants the original pkgtools, he can just get it and have spkg replaced. A nice application of "conflicts with" I think.
Image
Image

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: pktools replacement (was: Package managers)

Post by thenktor » 11. Jun 2009, 15:27

Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

Locked