Accepting request 1147305 from home:ila.embsys:branches:openSUSE:Tools

It is the change that add packaging for deb format that I did for myself, but it also could be useful for someone else, so I decided to offer it to merge.

OBS-URL: https://build.opensuse.org/request/show/1147305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-node_modules?expand=0&rev=14
This commit is contained in:
Adam Majer 2024-06-12 10:58:40 +00:00 committed by Git OBS Bridge
parent d633082117
commit 97460fe329
7 changed files with 50 additions and 0 deletions

View File

@ -8,4 +8,9 @@
<param name="versionrewrite-pattern">v?(.*)</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

5
debian.changelog Normal file
View File

@ -0,0 +1,5 @@
obs-service-node-modules (2.3.0-0) unstable; urgency=medium
* Initial release.
-- Ilya Stolyarov <ila.embsys@gmail.com> Wed, 17 Jan 2024 23:28:16 +0400

1
debian.compat Normal file
View File

@ -0,0 +1 @@
10

10
debian.control Normal file
View File

@ -0,0 +1,10 @@
Source: obs-service-node-modules
Priority: optional
Maintainer: Ilya Stolyarov <ila.embsys@gmail.com>
Standards-Version: 3.9.8
Section: devel
Package: obs-service-node-modules
Section: devel
Architecture: any
Description: OBS service to download node_modules specified in package-lock.json

10
debian.dsc Normal file
View File

@ -0,0 +1,10 @@
Format: 3.0 (quilt)
Source: obs-service-node-modules
Version: 2.3.0-0
Binary: obs-service-node-modules
Maintainer: Ilya Stolyarov <ila.embsys@gmail.com>
Architecture: all
Standards-Version: 3.7.2
Build-Depends: debhelper,
python3-lxml

14
debian.rules Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/make -f
prefix := /usr
%:
dh $@
override_dh_auto_install:
dh_auto_install
install -D -m 755 node_modules.py \
./debian/obs-service-node-modules/$(prefix)/lib/${DEB_HOST_MULTIARCH}/obs/service/node_modules
install -m 644 node_modules.service \
./debian/obs-service-node-modules/$(prefix)/lib/${DEB_HOST_MULTIARCH}/obs/service/node_modules.service

View File

@ -4,6 +4,11 @@ Mon Jan 29 15:50:36 UTC 2024 - adam.majer@suse.de
- Update to version 2.4.0:
* Fix handling of direct git repos in v3
-------------------------------------------------------------------
Wed Jan 17 21:14:52 UTC 2024 - Ilya Stolyarov <ila.embsys@gmail.com>
- Add debian part
-------------------------------------------------------------------
Tue Sep 19 11:34:58 UTC 2023 - adam.majer@suse.de