Op zaterdag 7 januari 2006 15:47, schreef Pascal Bleser:
> > What does not work: are urls with login and passwords, like:
> > ftp://login:[EMAIL PROTECTED]/dir
> > This works with yum
>
> Ok, good point to check.
> If it doesn't work, it should be added (not very difficult though, it's a
> central component that handles all file retrieval in smart).

How does this not get forgotten, do you take care for it?

> > Why does smart not read the /etc/yum.repos.d directory?  I now have to
> > define the repositories twice :(
>
> Because smart doesn't use yum.

That's true. I considered them both as the same which they aren't.

> That's one of the nice things about smart: repository metadata support for
> apt-rpm, rpm-md/yum, yast2, urpmi, ... ... has been implemented in pure
> Python code, independently of whether you have yum, apt-rpm, yast2, urpmi,
> etc.. installed or not.
> Also, it has a very minimal set of dependencies (python >= 2.3,
> python-rpm).
>
> Note that the code to import yum.repos.d/* could be added.
> The question is whether one really wants that :)

No need, if smart is just good.  No need at all when smart is better than 
yum ;)

> I use rpm-md repositories without having configured any repository in yum.
>
> How do you want to sync between the smart channels and yum yum.repos.d/* ?
> - at installation of smart, once
> - every time smart starts up, but only add channels for yum repos that are
> missing (as channels) don't remove anything
> - same as above but with prompting the user for every channel
> - explicitely, with a "reposync" (just an example ;)) command in smart
> ... ?
>
> What could be done very easily is a set of scripts that import
> - yum (/etc/yum.repos.d/*)
> - apt-rpm (/etc/apt/sources.list + /etc/apt/sources.list.d/*)
> - yast2 (installation_sources -s)
> repositories into smart.
>
> I already hacked one (not much tested though) for apt-rpm:
> http://linux01.gwdg.de/~pbleser/files/smart/apt-sources-to-smart.sh
> And there's another one written by oc2pus:
> http://www30.websamba.com/texpert/
>
> Same could be done for yum and yast2.
>
> Quickly hacked a prototype for importing yast2 sources:
> http://linux01.gwdg.de/~pbleser/files/smart/yast2-sources-to-smart.sh
> It even imports the "autorefresh" and "enabled" information.
> Run with -n for a dry run.
> Disclaimer: early alpha version, untested, use at your own risk ;)

Good to know.

> > There is a field labelled alias and another one name (when adding a
> > channel). I think the name field should be labelled "description".  If
> > that would happen the alias field could be labelled "name"...
>
> Yes, might be easier to understand.

How does this not get forgotten, do you take care for it?

> >> So, what's so nice about Smart.
> >> * mirrors
> >> - mirrors are managed globally, for every single operation, because you
> >> just define URL mappings (e.g.
> >> "http://ftp.gwdg.de/pub/opensuse/distribution/SL-10.0-OSS"; ->
> >> "http://ftp.belnet.be/packages/opensuse/distribution/SL-10.0-OSS";),
> >> that's it, it will apply for every file retrieval because it's managed
> >> by a central component
> >
> > Is there a central directory that shows which repositories are available?
>
> No. Remember that smart is not SUSE-specific in any way and already used
> since some time by people on other distros.

The question remains.  Is there a central directory that shows which 
repositories are available for suse.  How come that smart only got better 
when susers started to use smart?

> > Something like the /etc/yum.repos.d directory but than on a central
> > server. (Perhaps start on wiki page)?  packman has a mirrorlist file, I
> > have a just created a repodata file, there is one for kolab, but where
> > can these be registered?  How do we know what is available, without
> > searching the whole internet?  Perhaps Eberhard can make a directory that
> > hold links to all the repodata directories on his server?
>
> Similar to the list of repositories on http://opensuse.org
>
> Note that smart has the nice ability to retrieve a list of repositories
> from a text file, e.g.: smart channel --add
> http://linux01.gwdg.de/~pbleser/files/smart/my-smart-channels.txt

Something like this I was looking for indeed.  Can it be stored on a wiki 
page, so we can all add our own channel information?

> Smart has no rpmkey support AFAIK. Again, could be done as well.

How does this not get forgotten, do you take care for it?  BTW, I think this 
is a must if smart is to replace apt.  so 'smart install rpmkey-suser-guru' 
should insert your key into the gpg database.

Please remove this line "Run "smart command --help" for more information" from 
'smart --help".  If run 'smart --help' I don't get more information.

Where is smart manpage?  Just create one with help2man.

What is the smart similar command for: 'apt --sources security.list upgrade'
This only upgrades the security packages.  I assume it exists but 'man smart' 
does not tell ;)

Is there yast support to configure automatic package upgrades?
Have a look at:
/var/adm/fillup-templates/sysconfig.autoupdate
This can be reached via yast -> system -> sysconfig editor -> Autoupdate



Running # smart upgrade
Loading cache...
Updating cache...               ######################################## 
[100%]

Computing transaction...

Upgrading packages (19):
  alsa               gcompris           libvorbis          perl-Cyrus-IMAP
  alsa-devel         imlib2             libvorbis-devel    rar
  alsa-firmware      imlib2-loaders     libxine1           sane
  alsa-tools         k3b                mad                speex
  freeciv            kipi-plugins       mplayerplug-in

Installed packages (5):
  faac         faad2        libffmpeg0   libmpcdec    xvid



Now from which repositories are these packages installed.  With apt does can 
be deducted from the version number.  Would smart be able to put the 
component name behind the rpm name?

What is meant in the output above with:

Installed packages (5):
  faac         faad2        libffmpeg0   libmpcdec    xvid

The package is not installed, see:
linux:/etc/sysconfig # rpm -q faac
package faac is not installed


-- 
Richard

-- 
Richard Bos
Without a home the journey is endless

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to