Project

General

Profile

Feature #2526

Debian packages: unify osmocom:nightly and osmocom:nitb-split:nightly

Added by laforge 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/01/2017
Due date:
% Done:

100%

Estimated time:
Spec Reference:

Description

As all nitb-split and 3G related branches are now merged to "master" of their respective repositoires, and we're no longer relying on building incompatible branches, I believe it should be possible to have a single feed of Debian packages that builds
  • osmo-nitb and osmo-bsc[-sccplite] from openbsc.git
  • osmo-{bts,trx,hlr,msc,bsc,sgsn,ggsn}.git (and whatever I forgot) from the post-nitb-split world

The idea is that there's a single (nightly) package feed containing all debian packages, and let the user decide on what he wants to install by selecting packages from those feeds.

I think in theory, all of this software should also be installable in parallel on a single system, even though of course it makes little/limted sense to run osmo-bsc+osmo-msc and osmo-nitb in parallel on the same system.

The only exception to this is osmo-bsc from openbsc.git (the sccplite version) and osmo-bsc from the new osmo-bsc.git (the 3GPP AoIP version that will soon also get back sccplite support). Pau has solved this on the OE side by calling the package built from openbsc.git 'osmo-bsc-sccplite'.

Please coordinate with Pau, as the Debian packages were in-line with what's happening on the OE front.

At the end of this ticket, I have the hope that the osmocom:nitb-split:nightly can be removed and we have all packages in the "old" osmocom:nightly"

History

#1 Updated by laforge 10 months ago

#2 Updated by neels 10 months ago

In the light of this, and the other discussion with Max about removing GPRS related programs from openbsc.git,
I think these would make sense:

  • remove osmo-sgsn and other gprs related programs from openbsc.git
  • remove osmo-bsc_mgcp from openbsc.git. (It could also use osmo-mgw's libosmo-legacy-mgcp lib, not strictly necessary though)
  • rename openbsc.git's osmo-bsc to osmo-bsc-sccplite
    • when installed by debian
    • best also during 'make install'
    • and even better also during compile time

Then openbsc.git should be pretty much only osmo-nitb and osmo-bsc-sccplite.
Is that about right?

#3 Updated by laforge 10 months ago

Hi Neels,

On Sun, Oct 01, 2017 at 11:00:04PM +0000, neels [REDMINE] wrote:

In the light of this, and the other discussion with Max about removing GPRS related programs from openbsc.git,
I think these would make sense:

  • remove osmo-sgsn and other gprs related programs from openbsc.git

that should be possible even now

  • remove osmo-bsc_mgcp from openbsc.git. (It could also use osmo-mgw's libosmo-legacy-mgcp lib, not strictly necessary though)

I would argue it's probably safer to leave it next to osmo-bsc[-sccplite]
and remove them together eventually [see below]. I just want to avoid
we never test any of the new libraries continued compatibility with old
osmo-bsc-sccplite, and hence it's likely to break unnoticed at some point.

  • rename openbsc.git's osmo-bsc to osmo-bsc-sccplite

we could sprinkle a 'legacy' in there, as we did with the mgcp code.

  • when installed by debian
  • best also during 'make install'
  • and even better also during compile time

indeed, we could do that in the Makefile.am directly.

Then openbsc.git should be pretty much only osmo-nitb and osmo-bsc-sccplite.
Is that about right?

There are still various small utilities and the like (bs11_config,
abisip-config, abisip-find, ...) which I believe we should keep as
copies around in openbsc.git. This way people don't have to build
code from the new repositories only to have all the parts/pieces related
to BSC or NITB.

Further down the route, I will see us fully supporting sccplite from
libosmo-sccp and osmo-bsc.git, at which point even osmo-bscp-sccplite
can eventually be removed from openbsc.git, rendering it basically into
an "osmo-nitb.git".

#4 Updated by laforge 9 months ago

  • % Done changed from 0 to 20

Please note https://gerrit.osmocom.org/#/c/4417/ is removing osmo-{sgsn,gbproxy,gtphub} from openbsc.git and https://gerrit.osmocom.org/4421 implements the rename from osmo-bsc to osmo-bsc-sccplite.

#5 Updated by laforge 9 months ago

  • Assignee changed from lynxis to laforge

#6 Updated by laforge 9 months ago

Looking at the package list, I think only osmo-msc and osmo-mgw are not yet built by the non-nitb-split feed yet. Let's try to do that and see what we might still be missing.

#7 Updated by laforge 9 months ago

  • Status changed from New to In Progress
  • % Done changed from 20 to 60

I've copied ("osc copypac") osmo-mgw and osmo-msc on OBS, seems to work.

osmo-ci patch to continue building it: https://gerrit.osmocom.org/#/c/4433/1

#8 Updated by laforge 9 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 60 to 100

osmo-bsc has been copied from nitb-split:nightly to nightly, and nitb-split has been removed from OBS.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)