Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
S
server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1
    • Merge Requests 1
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • NYNJA
  • server
  • Merge Requests
  • !198

You need to sign in or sign up before continuing.
Closed
Opened May 29, 2019 by delete2@delete2Contributor
  • Report abuse
Report abuse

dev merge dialyzer (aka devlyzer)

  • Overview 7
  • Commits 25
  • Changes 217

Created by: rdimitrovbg

Summarize

  1. Overall on the changes
  • All automatically created files have been removed.
  • The missing specification was completed. (introducing changes to the protocol)
  • Global and explicitly defined suppress warnings attributes.
  1. Compiling / Running

NB: Compiling and running project with rebar3 requires additional steps which are not suitable for mad and vice versa.

2.1. Compiling / Running with rebar3

The main issue comes with one of the deps lib - 'jose-erlang'. During the compile time with rebar3, 'Dependency failure' error is thrown.

$ rebar3 get-deps
...
===> Fetching jose-erlang ({git,
                                      "https://github.com/manifest/jose-erlang.git",
                                      {branch,"master"}})
===> Dependency failure: source for jose-erlang does not contain a recognizable project and can not be built

The Solution that I have found so far is based on this article and it is a native way of extending the standard set of OTP library. This could be done by exporting system variable ERL_LIBS, pointing to the directorie where these libs are kept.

Solution Steps:

  1. remove or comment on the jose-erlang library from the dependencies set
  2. creating a directory that is appropriate to the project
  3. adjust the accessibility of the system variable ERL_LIBS
  4. cloning jose-erlang inside the ERL_LIBS path
  5. perform command make appin order to build the library
  6. done

Cloning and building jose-erlang lib inside the ERL_LIBS directory will guarantee that we will have access to all its functionality across.

2.2 Compiling / Running with mad Unfortunately, the solution satisfying Compiling / Running with rebar3 is inappropriate for mad. @5HT Probably because mad does not pay attention on ERL_LIBS and could not find extra libs. The current state of the project works well with mad, no change in deps libraries needed.

  1. Tests Successful
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/nynja/server!198
Source branch: devlyzer