Click Here
home features news forums classifieds faqs links search
5669 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
51 crawler(s) on-line.
 21 guest(s) on-line.
 4 member(s) on-line.


Trixie, K-L, nikosidis, more...

You are an anonymous user.
Register Now!
 nikosidis:  5 secs ago
 g0blin:  2 mins ago
 K-L:  3 mins ago
 Trixie:  3 mins ago
 BenMatthew:  7 mins ago
 DaleH:  10 mins ago
 LarsB:  22 mins ago
 bennymee:  27 mins ago
 Jasper:  49 mins ago
 terminills:  51 mins ago

Software News   Software News : APMS Public Beta
   posted by Anonymous on 24-May-2005 19:36:34 (3690 reads)
Ive just released the APMS ( Amiga Package Management System ) tool for public beta testing on os4depot. Rather than delay it further while fixing some remaining bugs Im hoping that you folks will take a look at it, join the mailing list and suggest features.

Read on for more information.


PHASE 1, build 001xa

What it is

APMS is a package management system designed to cope with packages in its own APMS format (which handle dependency information, keep an eye on test reports etc ) as well as handling the retrieval and installation management of packages NOT in APMS format.

As the majority, at this stage, are in non APMS format ( lha, tar, zip ) the first phase released will address installation and retrieval of those packages.

The second phase, if we don't abandon it through despair, is to handle APMS format, the test report mechanism ( which will - I hope - attach to the grim reaper task and allow you to report faulty packages to a test database ) and its advanced uninstall/install mechanism and fine grain ( actual inventoried contents with version numbers ) manifest information. For now put phase 2 out of your minds.

Problems


* Install/Uninstall does nothing due to annoying bugs in unpacking data.

* Lots of debug output.

* Whatever you find wrong.

* More output needed during resync to let you know its doing stuff.

What you can test

OK, the sql-passthrough code isn't tested in alpha stage at all yet, sorry, meant to do that but want feedback sooner rather than later. This means in order to 'fetch' a package to your APMS: tree you will need to specify its category ( as it appears on os4depot - our current test server of choice ) and its packagename.

Thus, for example, you can do:

apms fetch utility/filetool amidisk.lha

This should go ahead, check your local cache, compare the version there ( if its there ) with the version on os4depot. If it finds it needs to update it, it will. If it finds that package is up to date and present, it will just return to you.

Ordinarily, you would then do:

apms install utility/filetool amidisk.lha

Except thats still too buggy ( unpacking causes a guru - Im not sure why yet ). As that isn't ready, apms uninstall also does nothing.

apms info [category] [package] should return information on the local package data on that specific category and packge combination.

apms search [string] should return all packages in the cache or local package data that matches the string.

apms update is disabled.

apms updateall I havent tried, but the rest of the code in that section works so let me know. In order for it to actually do anything a package has to have been updated on os4depot.net.

apms resync is a vital command, it resyncs the entire database. You need to do this at least once, then after do an apms resync latest just to pick up the recent list. Eventually this will change, I hope, to passing os4depot a query string to get what has changed since the last time it was run.

apms automatically tries the most reliable mirror first, as we only have one mirror, os4depot.net, thats participating ( yet ) but once more mirrors are configured to work this way, they will appear in the mirror list on the os4depot server which you will AUTOMATICALLY pick up on a resync.

apms help works, and has commands there for all the apms-lite ( Amiga style package handling ) commands that will get implemented in phase 1.

Ive found a bug! What now!


Well done, its probably a target rich environment right now, pop along to the mailing list ( details for subscribing below ) and report the problem. It might be 'self inflicted' but I am still interested in hearing how the product gets used as it develops.

Always run apms help version to get the build version number to report in your bug

The mailing list


Send an email to apms_tester-subscribeATyahoogroups.co.uk to subscribe, the list is:
http://uk.groups.yahoo.com/group/apms_tester/

Its a moderated, private list.

Download:
apms.tar.gz
    

Related Links
· More about Software News



Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
IBrowse 2.5 Released
Printer Friendly Page  Send this Story to a Friend

PosterThread
Anonymous 
Re: APMS Public Beta
Posted on 24-May-2005 19:40:12
# ]



If it works out, there will be a port to AROS eventually, as there seems to be some need discussed there.

It will also eventually support Aminet properly, the ability to extend the dependencies tool to use dep information from anywhere and all sorts of fun.

 
     Report this post  
opi 
Re: APMS Public Beta
Posted on 24-May-2005 20:16:26
#2 ]
Team Member
Joined: 2-Mar-2005
Posts: 2752
From: Poland

Quote:
If it works out, there will be a port to AROS


What about MorphOS port? If not the codebase, will you share specyfication? This is somehow important to cover upcoming standards (if this package system will turn into standard on both OS-es.


_________________
OpenWindows Initiative. Port PS3 hardware to bananas. For free. Join today and receive expired $50 cupon from AI!

 Status: Offline
Profile     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 24-May-2005 20:17:32
# ]



I dont have MorphOS, as for source sharing/spec sharing, I dont see why not, yet.

 
     Report this post  
ikir 
Re: APMS Public Beta
Posted on 24-May-2005 21:00:06
#4 ]
Elite Member
Joined: 18-Dec-2002
Posts: 5646
From: Italy

Congratulations Dave!Sadly i don't have my A1 now, i hope to receive it back soon from the fix!


_________________
Amiga News.it
Sam460ex 1,15Ghz
2GB RAM, 120GB Crucial v4 SSD, 32GB SDHC
Radeon HD 6450 1GB

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: APMS Public Beta
Posted on 24-May-2005 21:01:24
#5 ]
Elite Member
Joined: 9-Jun-2004
Posts: 11116
From: Norway

@Wiffy

don't worry you come up whit some thing, you might as well use it trade whit


_________________
Please check out my software:
Excalibur, Basilisk 2, AmigaInputAnywhere.
LiveForIt-Music
http://lifeofliveforit.blogspot.no/

 Status: Offline
Profile     Report this post  
T_Power 
Re: APMS Public Beta
Posted on 24-May-2005 23:43:04
#6 ]
Regular Member
Joined: 8-Sep-2003
Posts: 359
From: Durban, South Africa

@Wiffy

Hey this is good. Test session below.
After an "assign" and "resync" I'm in...

2.RAM Disk:T/apms-beta/bin> apms search term
Searching cached packages for "term".

Searching general package list for "term".
Match found:network/chat cgterm.lha CGTerm 1.7b2/OS4 - a platform independent C/G term_
Search complete.

One small thing so far, if there is no match it would be good to be told "No match found for" $search ..instead of been plonked back to prompt line.

Looking forward to next beta.

Cheers,
Tim

P.S. Lucky you have the "A" in the acronym "apms"

 Status: Offline
Profile     Report this post  
Coder 
Re: APMS Public Beta
Posted on 25-May-2005 7:25:44
#7 ]
Team Member
Joined: 15-May-2003
Posts: 4523
From: The Netherlands

Does it work with proxy? My connection is on the laptop.

Coder


_________________
Can't get enough of me?
The Bucket Diary Blog
The Bucket Diary Twitter Account

 Status: Offline
Profile     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 25-May-2005 7:29:01
# ]



Thanks Please join the mailing list

Another session below:
4.Developments:ship/apms-beta> apms resync recent
Starting read.
Read 45 bytes.
Unable to get mirror list, returncode 0.
1 mirrors.
Trying mirror 0 www.os4depot.net.
Starting read.
Read 2299 bytes.

This means that nothing found since apms was synchronised, yes APMS does have its own
internal SQL database


4.Developments:ship/apms-beta> apms fetch video/play vmpeg.lzx
No cache copy found of video/play/vmpeg.lzx, therefore obtaining it.
Trying mirror www.os4depot.net.
Starting read.
Read 244466 bytes.
Downloaded.
Package now in cache.

The package now sits in apms:packages/video/play for either apms install to be run
( except thats broken bah! ) or for you to unpack and use it manually.


4.Developments:ship/apms-beta> apms search apms
Searching cached packages for "apms".

Searching general package list for "apms".
Match found:network/misc apms.tar.gz Amiga Package Management System_
Search complete.

This looks to see if it can find apms, it can, but not in the local cache, instead there
is a version on the package server.


4.Developments:ship/apms-beta> apms info network/misc apms.tar.gz
Entry in Cached Packages:
Not cached locally.
Entry in General Packages:
Version:beta
Category:network/misc
Package:apms.tar.gz
Dated:20050524-19.50
Size:310471
Description:Amiga Package Management System_

Info shows all information stored about a package, in this case there is no version
local, so it can't show it there, but it can show the details of the package server version.
If there were dep information available it would display that too.



4.Developments:ship/apms-beta> apms fetch apms.tar.gz

APMS downloading itself

 
     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 25-May-2005 7:30:10
# ]



Coder

It uses port 80, so it should do, the next version Ill allow you to configure a proxy
server. IF you join in the mailing list of course

 
     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 25-May-2005 7:45:30
# ]



Note the current tool version is designed so that someone with rxmui skills can develop
an interface quite rapidly.

The only function missing is apms enumerate, which will be in the next beta. In the interim you can do
'apms search %' to get everything.

The API exists, and works ( cos thats what the tool uses ) and is ripe for further development
with callback hooks for progress bars and the like.

Get in at the ground level, and it will be so much easier to develop addons and the like for
this tool.

 
     Report this post  
Coder 
Re: APMS Public Beta
Posted on 25-May-2005 8:01:06
#11 ]
Team Member
Joined: 15-May-2003
Posts: 4523
From: The Netherlands

@Wiffy

Quote:
It uses port 80, so it should do, the next version Ill allow you to configure a proxy


Sure.

With apt-get you can specify it in the config file.

Coder


_________________
Can't get enough of me?
The Bucket Diary Blog
The Bucket Diary Twitter Account

 Status: Offline
Profile     Report this post  
firbodi 
Re: APMS Public Beta
Posted on 25-May-2005 15:25:30
#12 ]
Super Member
Joined: 2-Sep-2003
Posts: 1046
From: Planet Earth!

Hi all,

I think you are turning our beloved Amiga to a Linux Clone with all these!!

First AmiZilla, then Open Office (OK these can be fine although they may kill IBrowse and Papyrus for example), and now apt-get! ?

Haven't you had enough problems with Linux dependencies already?

I presonally don't like the way porting and cloning is going in Amiga land. Next thing we know, we'll have a clone of Windows aweful registery.

Sorry if this is too strong, but it is how I feel.

Firbodi


_________________
MicroA1 G3, 512MB RAM, DVD-RW; and A1-SE G3,512MB RAM, CD-RW & DVD-ROM
Avatar: Perspolis, Capital of Achaemenid Empire 500 B.C.

 Status: Offline
Profile     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 25-May-2005 15:35:07
# ]



Its not a port, or a clone.



Nowhere did I say it was apt-get. Plus, if you are going to jump at shadows, you might want to compare the windows registry concept with Env-archive.

Dave.

 
     Report this post  
T_Power 
Re: APMS Public Beta
Posted on 26-May-2005 0:21:29
#14 ]
Regular Member
Joined: 8-Sep-2003
Posts: 359
From: Durban, South Africa

@Wiffy

Quote:

............, yes APMS does have its own internal SQL database


Brill, is this your own SQL engine you've made, or MySQL ?
What command set does it have, and will you make it stand-alone anytime soon?

So many good things happening lately, thanks to all the busy Amiga people out there.

Cheers,
Tim

 Status: Offline
Profile     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 26-May-2005 7:16:46
# ]



I already released it, its sqlite3.

apms search sqlite3

 
     Report this post  
T_Power 
Re: APMS Public Beta
Posted on 26-May-2005 8:54:09
#16 ]
Regular Member
Joined: 8-Sep-2003
Posts: 359
From: Durban, South Africa

@Wiffy

OK, found and downloaded.
Thanks.

Cheers,
Tim

 Status: Offline
Profile     Report this post  
Anonymous 
Re: APMS Public Beta
Posted on 26-May-2005 9:21:23
# ]



It has a couple of minor bugs, its not the same version exactly as found in apms, Ill update sqlite3 over the weekend.

Ive got a bit of a headcold today so Ill be signing off in a bit.

 
     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle