Project

General

Profile

Feature #3090

osmo-ttcn3-hacks: Add automatic management of titan dependencies to Makefiles

Added by stsp 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/20/2018
Due date:
% Done:

100%

Estimated time:
Spec Reference:
Tags:

Description

Currently the 'make deps-update' target must be invoked manually to update git repositories stored beneath the deps/ directory.
The build process would be more convenient and less error-prone if this were automated.

A related problem is that we are always pulling the master reference, which means our ttcn3 tests could be affected by changes made independently at eclipse.org.
The Makefiles should keep track of the exact commit hash (or a tag, if available) which should be retrieved, and update repositories under deps/ accordingly.

The mechanism should also be able to cope with changes to the remote URL of a dependency's git repository.

This might be a good use case for git submodules, but custom Makefile logic should also be able to maintain repositories in sync with the desired state.

History

#1 Updated by stsp 5 months ago

  • Subject changed from osmo-ttcn3-hacks: Add automatic dependency of titan dependencies to Makefiles to osmo-ttcn3-hacks: Add automatic management of titan dependencies to Makefiles

#2 Updated by stsp 5 months ago

Patch implementing this feature proposed at https://gerrit.osmocom.org/#/c/7404/

#3 Updated by stsp 5 months ago

This follow-up patch preserves uncommitted local changes in dependencies: https://gerrit.osmocom.org/#/c/7442/

#4 Updated by laforge 3 months ago

  • Tags set to TTCN3
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)