Skip to content

Commit 17af835

Browse files
authored
Use argument when instantiating MavenNexusCollector #660 (#729)
* Bump version Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 2775c89 commit 17af835

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

minecode_pipelines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

10-
VERSION = "0.0.1b8"
10+
VERSION = "0.0.1b10"

minecode_pipelines/pipes/maven.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,12 +759,10 @@ def collect_packages_from_maven(commits_per_push=PACKAGE_BATCH_SIZE, logger=None
759759
logger(f"last_incremental: {last_incremental}")
760760

761761
# download and iterate through maven nexus index
762-
maven_nexus_collector = MavenNexusCollector()
762+
maven_nexus_collector = MavenNexusCollector(last_incremental=last_incremental)
763763
prev_purl = None
764764
current_purls = []
765-
for i, (current_purl, package) in enumerate(
766-
maven_nexus_collector.get_packages(last_incremental=last_incremental), start=1
767-
):
765+
for i, (current_purl, package) in enumerate(maven_nexus_collector.get_packages(), start=1):
768766
if not prev_purl:
769767
prev_purl = current_purl
770768
elif prev_purl != current_purl:

pyproject-minecode_pipelines.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
44

55
[project]
66
name = "minecode_pipelines"
7-
version = "0.0.1b8"
7+
version = "0.0.1b10"
88
description = "A library for mining packageURLs and package metadata from ecosystem repositories."
99
readme = "minecode_pipelines/README.rst"
1010
license = { text = "Apache-2.0" }
@@ -55,7 +55,7 @@ mine_debian = "minecode_pipelines.pipelines.mine_debian:MineDebian"
5555
mine_alpine = "minecode_pipelines.pipelines.mine_alpine:MineAlpine"
5656

5757
[tool.bumpversion]
58-
current_version = "0.0.1b3"
58+
current_version = "0.0.1b10"
5959
allow_dirty = true
6060

6161
files = [

0 commit comments

Comments
 (0)