commit f19368e51199d8c79c6788721b99695830ad52837948f03f2b76a961631e9cb5 Author: Adrian Schröter Date: Wed Aug 18 16:03:08 2021 +0000 Accepting request 911933 from OBS:Server:Unstable Please add to devel project and forward to Factory OBS-URL: https://build.opensuse.org/request/show/911933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-node_modules?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..592badc --- /dev/null +++ b/_service @@ -0,0 +1,11 @@ + + + 0+git%cd.%h + http://github.com/openSUSE/obs-service-node_modules.git + git + enable + enable + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..1ed6580 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + http://github.com/openSUSE/obs-service-node_modules.git + e8b62736637c02d103186f7de137896729c3bf2e \ No newline at end of file diff --git a/obs-service-node_modules.changes b/obs-service-node_modules.changes new file mode 100644 index 0000000..3f087b0 --- /dev/null +++ b/obs-service-node_modules.changes @@ -0,0 +1,46 @@ +------------------------------------------------------------------- +Tue Jun 15 10:14:14 UTC 2021 - adam.majer@suse.de + +- Update to version 0+git20210615.e8b6273: + * Warn about entities that have no integrity field + * Add a path search for args.input + * Update example on creating package-lock.json + +------------------------------------------------------------------- +Thu Apr 29 16:15:56 UTC 2021 - lnussel@suse.de + +- Update to version 0+git20210420.291fbf4: + * Add support for unresolved dependencies + * Handle resolved github repositories + * Add support for package-lock.jsons + +------------------------------------------------------------------- +Tue Mar 09 14:39:06 UTC 2021 - lnussel@suse.de + +- Switch to manual service for Factory submission +- Package should be noarch +- Update to version 0+git20210223.d24a8cd: + * Trailer needs to have no content + * doc: include all sources in Source: in the example + * doc: add reference to npm-localhost-proxy + * Update README for usage with local-npm-registry + * Fix xml syntax + * remove leading package name prefix in the from: + * Require lockfileVersion=2 + * Drop locations.loc + * We need to get tarballs for bundled dependencies too + +------------------------------------------------------------------- +Fri Jan 22 08:40:35 UTC 2021 - Ludwig Nussel + +- update, run spec-cleaner + +------------------------------------------------------------------- +Tue Nov 3 13:08:47 UTC 2020 - Ludwig Nussel + +- switch to new source location + +------------------------------------------------------------------- +Fri Oct 9 14:37:44 UTC 2020 - Ludwig Nussel + +- initial package diff --git a/obs-service-node_modules.obscpio b/obs-service-node_modules.obscpio new file mode 100644 index 0000000..61adbb7 --- /dev/null +++ b/obs-service-node_modules.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a051a95bb902c5d06fc88b2fe3d7ca5497a9c4f1591ea4cccb293d21d402a2e1 +size 24586 diff --git a/obs-service-node_modules.obsinfo b/obs-service-node_modules.obsinfo new file mode 100644 index 0000000..750c328 --- /dev/null +++ b/obs-service-node_modules.obsinfo @@ -0,0 +1,5 @@ +name: obs-service-node_modules +version: 0+git20210615.e8b6273 +mtime: 1623751049 +commit: e8b62736637c02d103186f7de137896729c3bf2e + diff --git a/obs-service-node_modules.spec b/obs-service-node_modules.spec new file mode 100644 index 0000000..75aaf97 --- /dev/null +++ b/obs-service-node_modules.spec @@ -0,0 +1,45 @@ +# +# spec file for package obs-service-node_modules +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: obs-service-node_modules +Version: 0 +Release: 0 +Summary: OBS service to download node_modules specified in package-lock.json +License: MIT +URL: https://github.com/openSUSE/obs-service-node_modules +Requires: python3-lxml +BuildArch: noarch + +%description + +%prep +ln -s %_sourcedir/%name . +%setup -DTn %name +%autopatch + +%build + +%install +install -D -m 755 node_modules.py %{buildroot}%{_prefix}/lib/obs/service/node_modules +install -m 644 node_modules.service %{buildroot}%{_prefix}/lib/obs/service/node_modules.service + +%files +%{_prefix}/lib/obs/service/node_modules +%{_prefix}/lib/obs/service/node_modules.service + +%changelog