Skip to content

Commit d14ba9e

Browse files
committed
Core: Roll the version number back to 1.0.0
1 parent 3911098 commit d14ba9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+91
-91
lines changed

volatility3/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run(self):
8787
"""Executes the command line module, taking the system arguments,
8888
determining the plugin to run and then running it."""
8989

90-
volatility3.framework.require_interface_version(2, 0, 0)
90+
volatility3.framework.require_interface_version(1, 0, 0)
9191

9292
renderers = dict([(x.name.lower(), x) for x in framework.class_subclasses(text_renderer.CLIRenderer)])
9393

volatility3/cli/volshell/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def run(self):
4242
determining the plugin to run and then running it."""
4343
sys.stdout.write("Volshell (Volatility 3 Framework) {}\n".format(constants.PACKAGE_VERSION))
4444

45-
framework.require_interface_version(2, 0, 0)
45+
framework.require_interface_version(1, 0, 0)
4646

4747
parser = argparse.ArgumentParser(prog = 'volshell',
4848
description = "A tool for interactivate forensic analysis of memory images")

volatility3/cli/volshell/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class Volshell(interfaces.plugins.PluginInterface):
2828
"""Shell environment to directly interact with a memory image."""
29-
_required_framework_version = (2, 0, 0)
29+
_required_framework_version = (1, 0, 0)
3030

3131
def __init__(self, *args, **kwargs):
3232
super().__init__(*args, **kwargs)

volatility3/framework/constants/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"""Constant used to delimit table names from type names when referring to a symbol"""
3939

4040
# We use the SemVer 2.0.0 versioning scheme
41-
VERSION_MAJOR = 2 # Number of releases of the library with a breaking change
41+
VERSION_MAJOR = 1 # Number of releases of the library with a breaking change
4242
VERSION_MINOR = 0 # Number of changes that only add to the interface
4343
VERSION_PATCH = 0 # Number of changes that do not change the interface
4444
VERSION_SUFFIX = ""

volatility3/framework/interfaces/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ class PluginInterface(interfaces.configuration.ConfigurableInterface,
9494
and configuration information in the context it is passed.
9595
"""
9696

97-
# Be careful with inheritance around this
98-
_required_framework_version = (1, 0, 0) # type: Tuple[int, int, int]
97+
# Be careful with inheritance around this (We default to requiring a version which doesn't exist, so it must be set)
98+
_required_framework_version = (0, 0, 0) # type: Tuple[int, int, int]
9999
"""The _version variable is a quick way for plugins to define their current interface, it should follow SemVer rules"""
100100

101101
def __init__(self,

volatility3/framework/plugins/banners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class Banners(interfaces.plugins.PluginInterface):
1616
"""Attempts to identify potential linux banners in an image"""
1717

18-
_required_framework_version = (2, 0, 0)
18+
_required_framework_version = (1, 0, 0)
1919

2020
@classmethod
2121
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:

volatility3/framework/plugins/configwriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ConfigWriter(plugins.PluginInterface):
1717
"""Runs the automagics and both prints and outputs configuration in the
1818
output directory."""
1919

20-
_required_framework_version = (2, 0, 0)
20+
_required_framework_version = (1, 0, 0)
2121

2222
@classmethod
2323
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:

volatility3/framework/plugins/frameworkinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class FrameworkInfo(plugins.PluginInterface):
99
"""Plugin to list the various modular components of Volatility"""
1010

11-
_required_framework_version = (2, 0, 0)
11+
_required_framework_version = (1, 0, 0)
1212

1313
@classmethod
1414
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:

volatility3/framework/plugins/isfinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
class IsfInfo(plugins.PluginInterface):
2323
"""Determines information about the currently available ISF files, or a specific one"""
2424

25-
_required_framework_version = (2, 0, 0)
25+
_required_framework_version = (1, 0, 0)
2626
_version = (1, 0, 0)
2727

2828
@classmethod

volatility3/framework/plugins/layerwriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class LayerWriter(plugins.PluginInterface):
1717

1818
default_block_size = 0x500000
1919

20-
_required_framework_version = (2, 0, 0)
20+
_required_framework_version = (1, 0, 0)
2121
_version = (2, 0, 0)
2222

2323
@classmethod

0 commit comments

Comments
 (0)