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
This commit is contained in:
Adrian Schröter 2021-08-18 16:03:08 +00:00 committed by Git OBS Bridge
commit f19368e511
8 changed files with 138 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

11
_service Normal file
View File

@ -0,0 +1,11 @@
<services>
<service name="obs_scm" mode="manual">
<param name="versionformat">0+git%cd.%h</param>
<param name="url">http://github.com/openSUSE/obs-service-node_modules.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="without-version">enable</param>
</service>
<service mode="buildtime" name="set_version">
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">http://github.com/openSUSE/obs-service-node_modules.git</param>
<param name="changesrevision">e8b62736637c02d103186f7de137896729c3bf2e</param></service></servicedata>

View File

@ -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 <lnussel@suse.de>
- update, run spec-cleaner
-------------------------------------------------------------------
Tue Nov 3 13:08:47 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- switch to new source location
-------------------------------------------------------------------
Fri Oct 9 14:37:44 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- initial package

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a051a95bb902c5d06fc88b2fe3d7ca5497a9c4f1591ea4cccb293d21d402a2e1
size 24586

View File

@ -0,0 +1,5 @@
name: obs-service-node_modules
version: 0+git20210615.e8b6273
mtime: 1623751049
commit: e8b62736637c02d103186f7de137896729c3bf2e

View File

@ -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