ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: duplicate npm() self-provides
@ 2020-11-11 16:30 Dmitry V. Levin
  2020-11-12  9:38 ` Vitaly Lipatov
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2020-11-11 16:30 UTC (permalink / raw)
  To: ALT Devel discussion list

Hi,

У нас в репозитории обнаружилось несколько пакетов, которые содержат сразу
две разных версии одного и того же npm(...) в Provides.
Предполагаю, что во всех случаях это ошибки, поскольку сравнения версий в
rpm работают не так, как ожидают люди, когда у пакета больше одной версии.
Кто-нибудь знает, зачем это было сделано?

$ pkglist-query '[%{PROVIDENAME} %{NAME} %{PROVIDEFLAGS:depflags}%{PROVIDEVERSION}\n]' \
  Sisyphus/{x86_64,noarch}/base.bloat/pkglist.classic |\
  sed -rn -e 's/ \+$//' -e 's/^(npm\([^ ]+) ([^ ]+) ([^ ]+)$/\3 \2 \1/p' |\
  sort -k2 |\
  uniq -D -f1 |\
  sed -rn -e 's/^([^ ]+) ([^ ]+) ([^ ]+)$/\2 \3 \1/p' |\
  sort -k2,2 |\
  column -t -N 'Package:,Provide Name:,Provide Version:'

Package:       Provide Name:                 Provide Version:
node-nodeunit  npm(ansi-regex)               =2.1.1
node-nodeunit  npm(ansi-regex)               =4.1.0
node-sass      npm(ansi-regex)               =2.1.1
node-sass      npm(ansi-regex)               =4.1.0
node-sass      npm(ansi-styles)              =2.2.1
node-sass      npm(ansi-styles)              =3.2.1
node-sass      npm(camelcase)                =2.1.1
node-sass      npm(camelcase)                =5.3.1
node-nodeunit  npm(debug)                    =2.6.9
node-nodeunit  npm(debug)                    =4.1.1
node-nodeunit  npm(diff)                     =1.4.0
node-nodeunit  npm(diff)                     =4.0.2
node-sass      npm(find-up)                  =1.1.2
node-sass      npm(find-up)                  =3.0.0
node-sass      npm(is-fullwidth-code-point)  =1.0.0
node-sass      npm(is-fullwidth-code-point)  =2.0.0
node-nodeunit  npm(minimist)                 =0.0.8
node-nodeunit  npm(minimist)                 =1.2.0
node-nodeunit  npm(ms)                       =2.0.0
node-nodeunit  npm(ms)                       =2.1.2
node-sass      npm(path-exists)              =2.1.0
node-sass      npm(path-exists)              =3.0.0
node-nodeunit  npm(pify)                     =3.0.0
node-nodeunit  npm(pify)                     =4.0.1
lessjs         npm(punycode)                 =1.4.1
lessjs         npm(punycode)                 =2.1.1
node-nodeunit  npm(punycode)                 =1.4.1
node-nodeunit  npm(punycode)                 =2.1.1
node-nodeunit  npm(safe-buffer)              =5.1.2
node-nodeunit  npm(safe-buffer)              =5.2.0
node-nodeunit  npm(semver)                   =5.7.1
node-nodeunit  npm(semver)                   =6.3.0
node-nodeunit  npm(source-map)               =0.5.7
node-nodeunit  npm(source-map)               =0.6.1
node-sass      npm(string-width)             =1.0.2
node-sass      npm(string-width)             =3.1.0
node-nodeunit  npm(strip-ansi)               =3.0.1
node-nodeunit  npm(strip-ansi)               =5.2.0
node-sass      npm(strip-ansi)               =3.0.1
node-sass      npm(strip-ansi)               =5.2.0
node-nodeunit  npm(supports-color)           =5.5.0
node-nodeunit  npm(supports-color)           =6.1.0
node-nodeunit  npm(tap-parser)               =5.4.0
node-nodeunit  npm(tap-parser)               =7.0.0
node-nodeunit  npm(yallist)                  =2.1.2
node-nodeunit  npm(yallist)                  =3.1.1


-- 
ldv


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-12 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 16:30 [devel] Q: duplicate npm() self-provides Dmitry V. Levin
2020-11-12  9:38 ` Vitaly Lipatov
2020-11-12  9:56   ` Dmitry V. Levin
2020-11-12 16:30     ` Vitaly Lipatov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git