TheHive-Project / TheHive-Project/Cortex

Stable version not bumped

Open
#351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.6k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Stable version not bumped

Bug

Update to Cortex is present, but same version number is being presented for the upgrade.
However, there have been filechanges and a new file added (replacing an older file).

Work Environment
Question Answer
OS version (server) Debian
OS version (client) 10
Cortex version / git hash 3.0.1-1 (stable)
Package Type Deb
Browser type & version If applicable
Problem Description

I have Cortex version 3.0.1-1 installed.
I also have a check for when updates are available.

On 2021-03-10 the check alerted for updates being available.
However, update shows:
$ sudo apt list --upgradable
Listing... Done
cortex/stable 3.0.1-1 all [upgradable from: 3.0.1-1]

I manually pulled Cortex and went through the diff:
/etc/cortex/application.conf (conf file - is to be expected)

Changes to:
/opt/cortex/bin/cortex
/opt/cortex/lib/org.thehive-project.cortex-3.0.1-1-assets.jar
/opt/cortex/lib/org.thehive-project.cortex-3.0.1-1-sans-externalized.jar

New file:
/opt/cortex/lib/org.scala-lang.modules.scala-parser-combinators_2.12-1.1.1.jar

Obsoleted file:
/opt/cortex/lib/org.scala-lang.modules.scala-parser-combinators_2.12-1.1.0.jar

Steps to Reproduce

1.Install the pre-2021-03-10 version of Cortex stable version 3.0.1-1
2. Try to upgrade or download package and check the diffs.

Possible Solutions

If this is intentional, pls bump version number to 3.0.1-2.

Complementary information

None

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Debian package metadata that produced version 3.0.1-1 and compare it with the changed files under /opt/cortex/bin and /opt/cortex/lib. Reproduce the report with apt list --upgradable and inspect the package diff. Done means a changed package version is presented for the updated Cortex contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
release
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.