Re: [UDD] Any reason to drop view all_sources?
Hi Lucas,
> > is there any good reason to "drop view all_sources"[1]. I'm using this
> > for team-metrics and while I could probably re-implement it somehow I
> > would like to learn about the motivation first.
>
> This also came up on IRC a few days ago.
>
> I removed that view because there was no use for it internally (in
> UDD-hosted tools) and it was a bit painful to update when the sources
> schema changed.
>
> It was defined as the equivalent of:
> SELECT * FROM sources -- that's Debian's source packages
> UNION SELECT * FROM ubuntu_sources -- that's Ubuntu's
> UNION SELECT * FROM derivatives_sources;
Yes.
> What is your use case for it?
The use case was that I was seeking for different spellings of names of
maintainers and this might happen over all those sources.
> Usually, you don't want to scan through all those sources
> (Debian+Ubuntu+...) at the same time without differenciating based on
> the distribution.
Its actually helpful to look beyond Debian for this specific purpose.
However, I can add that view locally to the UDD clone I'm using for
this.
> I suspected that you want to use 'sources' instead (or 'sources_uniq' if
> you prefer to hide some superseded packages that are still in Debian's
> Sources files).
Using all_sources was intentional (not sure whether we even invented it
for this purpose at the time when I was starting this). If you think
pristine UDD is better served without this view I could deal with this.
Kind regards
Andreas.
--
https://fam-tille.de
Reply to: