[SAC] [OSGeo] #2780: Creation of a Debian repository

#2780: Creation of a Debian repository
---------------------------+-----------------------
Reporter: mmomtchev | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords: debian
---------------------------+-----------------------
As part of the OSGeo GSoC 2022 I will be publishing very shortly working
and usable libnode packets with a clear C/C++ API.
This new API is pending a merge in Node.js - whether this will go through
or not is still not clear - but even if it goes through - there still
won't be libnode repository. The libnode package in most Linux distros is
simply unusable in its current form. These packages are meant to be the
Nodesource repositories equivalent for embedding Node.js in C/C++.

As this is an OSGeo project, these packages should probably be hosted by
OSGeo too.

A debian repository is nothing more than an FTP or HTTP accessible
directory tree with a well-known structure. There exists an utility in
Debian/Ubuntu (reprepro) that takes as input new packets and sorts them
into the tree. If no one is inclined to manage this repo, I am willing to
volunteer installing it.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2780&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2780: Creation of a Debian repository
---------------------------+------------------------
Reporter: mmomtchev | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: debian |
---------------------------+------------------------
Comment (by robe):

@mmomtchev,

I don't know much about debian packaging. There are two routes to go with
this.

Assuming you can build the package yourself, sounds like the easiest thing
might be to provide a folder for you on https://download.osgeo.org to host
the package.

We also have https://repo.osgeo.org (which uses nexus, which says it
supports debian packages). Instructions here -
https://help.sonatype.com/repomanager3/nexus-repository-
administration/formats/apt-repositories

Let me know which you think would be better.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2780#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2780: Creation of a Debian repository
---------------------------+------------------------
Reporter: mmomtchev | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: debian |
---------------------------+------------------------
Comment (by jef):

{{{
$ ls -ld /osgeo/download/libnode/; dpkg -l reprepro
drwxrwxr-x 2 root root 2 Jul 2 19:12 /osgeo/download/libnode/
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==================================
ii reprepro 5.3.0-1 amd64 Debian package repository
producer
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2780#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2780: Creation of a Debian repository
---------------------------+------------------------
Reporter: mmomtchev | Owner: mmomtchev
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: debian |
---------------------------+------------------------
Changes (by jef):

* owner: sac@… => mmomtchev

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2780#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.