All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
RE: SFU Package Manager
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
RE: SFU Package Manager - Oct. 12, '04, 11:21:23 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
The "+CONTENTS" file has the directive info and the manifest. The '-d' option
to pkg_info shows the content of the "long description" file. Two different
things.
|
|
|
RE: SFU Package Manager - Oct. 12, '04, 11:48:02 AM
|
|
|
breiter
Posts: 346
Joined: Jun. 14, '04,
From: Washington, DC
Status: offline
|
quote:
ORIGINAL: Rodney
The "+CONTENTS" file has the directive info and the manifest. The '-d' option
to pkg_info shows the content of the "long description" file. Two different
things.
Sorry. That was dumb a dumb thing to write.
I really meant "+DESC". When I double-click on an installed package I get the description in the lower pane. However, if I click, "What can I install?" and doule-click something I get nothing. Also if you click "Contents?" on the "What can I install?" list I get something like:
Running: pkg_info -d -v biff-1.0-bin.tgz
pkg_info(biff-1.0-bin): can't find package `biff-1.0-bin.tgz' installed or in a file!
Done dude. So what I'm saying is that the value of TkPkg would be greatly enhanced if one could use it to browse the /Tools warehouse and figure out what a package is for and what it installs. This could be achieved with a pair of feature enhancements: double-click for "+DESC" and "Content?" button yields +CONTENTS, both when browsing the "What can I install" list.
I'm also guessing that each of these functions would require downloading the entire package. So for performance reasons, you would probably need to download the pkg to a known location in /tmp and save that location for the entire TkPkg session. That way, if the user double-clicks for +DESC, TkPkg will download the pkg to /tmp and use pkg_info -d to display +DESC. Then when the user click "Contents?", TkPkg will call pgk_info -f on the file in /tmp to display +CONTENTS. And, finally, if the user clicks Install it TkPkg calls pkg_add on the /tmp file rather than downloading the pacakge again (for the 3rd time).
|
|
|
RE: SFU Package Manager - Oct. 12, '04, 12:04:52 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
> I really meant "+DESC"
Okay.
I've gone through tkpkg for a while changing and debugging things.
So it's a little different over what is currently released for people to look at and use.
More can always be done, but I'm going to leave out descriptions over the Internet for the
next release just to get it out and see what feedback happens with the current changes.
|
|
|
RE: SFU Package Manager - Oct. 12, '04, 3:53:15 PM
|
|
|
cortez_
Posts: 330
Joined: Mar. 27, '04,
From: Poland
Status: offline
|
breiter - imagine what would happen if someone wanted to see the DESC of GIMP - irs 23MB download. It should work form local directories only. I think it works like this now?
Rodney. A few bugs:
1. When I maximize the tkpkg to fullscreen in 800x600 the Exit button on the right doesn't fit on the screen. The buttons should be smallet so that all they would fit on the screen.
2. It should be possible to navigate through directory structire simply by double clicking on the directory name. It's hard to catch at the beginning that one should first douybleclick a directory and then set it and then slecect via local dir.
|
|
|
RE: SFU Package Manager - Oct. 12, '04, 4:04:29 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
> Rodney. A few bugs:
> 1. When I maximize the tkpkg to fullscreen in 800x600...
Ah, yes, something I don't notice at my default resolution.
I'll work on this and leave a note in the code to remind me to keep this in mind.
> 2. It should be possible to navigate through directory structire simply
I'll play with getting Tk to do this. The current method was functionally easy
to get done and get the bigger goal (local install) done.
thanks for the feedback.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|