Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
jami-project
jami-project
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Labels
    • Milestones
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #660

Closed
Open
Opened Sep 05, 2019 by Pete Gossner@PeteGozz
  • Report abuse
  • New issue
Report abuse New issue

Minor Enhancements -with much patch noise- to make-ring.py

Attached is a provisional file / replacement for make-ring.py named build-jami.py.hold

And a diff -u of that against my local make-ring.py

Two objectives:

1/ Move namespace "ring" to "jami"

This seems to work OK with the current git tree on this apt based system

2/ Exploit apt a little more.

  • added a command line argument --aptbuilds
  • loads an "apt-cache depends jami" generated static list into %packages
  • calls apt-get build-deps on a readily extended set of core packages.

I believe I have followed existing conventions.

As this was such a major albeit mostly cosmetic, alteration to the existing script I created a new version with a new name. ...

The .hold suffix is simply a convention that I use for my local .gitignore (s)

Observations:

  • Does not seem to break anything here while the use of the local developers kit has more flexibility.

    i.e. effectively it allows the local sources.list repositories (and rules) - notably libs from ceres/sid/unstable or testing - also perhaps some of the required includes.

    YMMV of course.

  • I experimented with grepping sid ceres from /etc/ Eventually realised that a simple human run time choice was just as effective. and given the dev can grok apt --help possibly less surprising.

(also discovered a whole lot of new python3.7 around Popen() and subprocess.run('', shell=True) )

  • It seemed pointless adding this to the git tree on review.jami as jenkins would probably have a reportage spinout :)

So use, don't use ... this works for me.

It may work for somebody else.

buildJami-makeRing.diff

build-jami.py.hold

Related issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: savoirfairelinux/ring-project#660