Skip to content

Commit

Permalink
Merge pull request #1805 from mulkieran/master-version-2.0.1
Browse files Browse the repository at this point in the history
Version 2.0.1
  • Loading branch information
mulkieran authored Feb 10, 2020
2 parents fda8ab0 + c0201c4 commit 8741825
Show file tree
Hide file tree
Showing 110 changed files with 4,128 additions and 3,043 deletions.
94 changes: 45 additions & 49 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,105 +7,101 @@ addons:
- libdbus-1-dev
- libudev-dev
- libdbus-glib-1-dev
# needed for i686-unknown-linux-gnu target
- gcc-multilib
- python3-pyudev

language: rust

matrix:
fast_finish: true
allow_failures:
# Allow beta tasks to fail
- rust: beta
# Allow audit task to fail
- env: TASK=audit
include:

# MANDATORY CHECKS USING CURRENT DEVELOPMENT COMPILER
# rustfmt
- rust: 1.38.0
- name: "format Rust source using current development toolchain"
rust: 1.40.0
before_script:
- rustup component add rustfmt
env: TASK=fmt-travis
# clippy
- rust: 1.38.0
- name: "lint Rust source using current development toolchain"
rust: 1.40.0
before_script:
- rustup component add clippy
env: TASK=clippy

# MANDATORY TESTING USING LOWEST SUPPORTED COMPILER
# tests
- rust: 1.37.0
- name: "run Rust unit tests on lowest supported toolchain"
rust: 1.39.0
env: TASK=test
# release
- rust: 1.37.0
- name: "build release on lowest supported toolchain"
rust: 1.39.0
env: TASK=release


# MANDATORY TESTING ON STABLE
# compile
- rust: stable
env: TASK=build TARGET=x86_64-unknown-linux-gnu
# compile with no defaults enabled
- rust: stable
env: TASK=build-no-default TARGET=x86_64-unknown-linux-gnu
# compile on a 32-bit system
- rust: stable
env: TASK=build TARGET=i686-unknown-linux-gnu PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig/
- name: "build using stable toolchain"
rust: stable
env: TASK=build
- name: "build without defaults using stable toolchain"
rust: stable
env: TASK=build-no-default
- name: "build Rust source and tests on a 32-bit system using stable toolchain"
rust: stable
env: TASK=build-tests TARGET=i686-unknown-linux-gnu PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig/
install:
- rustup target add $TARGET
- sudo dpkg --add-architecture i386
- sudo apt-get update
- sudo apt-get install -y gcc-multilib libdbus-1-dev:i386 libdbus-glib-1-dev:i386 libglib2.0-dev:i386 libudev-dev:i386
# Build docs
- rust: stable
- name: "build Rust docs using stable toolchain"
rust: stable
env: TASK=docs-travis
# test
- rust: stable
- name: "run Rust unit tests using stable toolchain"
rust: stable
env: TASK=test
# destructive tests that can be run on Travis
- rust: stable
- name: "run Rust destructive unit tests using stable toolchain"
rust: stable
sudo: required
script: sudo PATH=${TRAVIS_HOME}/.cargo/bin:$PATH make -f Makefile test-travis
# release
- rust: stable
- name: "build release using stable toolchain"
rust: stable
env: TASK=release


# MANDATORY PYTHON CHECKS
# Run pylint, Python linter, on any Python test code
- dist: xenial
# MANDATORY PYTHON CHECKS ON RECOMMENDED DEVELOPMENT INTERPRETER
- name: "lint Python test code on recommended development interpreter"
language: python
python: "3.7"
install: pip3 install -r tests/client-dbus/requirements.txt
python: "3.7.6"
install: pip install pylint==2.3.1 dbus-client-gen==0.4 dbus-python-client-gen==0.7 psutil==5.4.3 pyudev==0.21.0
before_script:
- cd tests/client-dbus
env: TASK=lint
# Format any Python test code using yapf
- language: python
python: "3.7"
install: pip3 install -r tests/client-dbus/requirements.txt
script: PYTHONPATH=./src make -f Makefile lint
- name: "format Python test code on recommended development interpreter"
language: python
python: "3.7.6"
install: pip install black==19.3b0 isort==4.3.4
before_script:
- cd tests/client-dbus
env: TASK=fmt-travis

# ALLOWED FAILURES
# Run clippy on rust beta, in order to be good Rustaceans
- rust: beta

# INTERMITTENTLY ALLOWED FAILURES
# Allowed if a failure occurs after a new Rust release until the
# failure is addressed.
- name: "lint Rust source using beta toolchain"
rust: beta
before_script:
- rustup component add clippy
env: TASK=clippy


# ALLOWED FAILURES
# Run audit on Rust stable. Make it an allowed failure, because:
# * It takes 9 minutes, the longest of any task.
# * It should be an advisory, and should not gate our development.
- rust: stable
- name: "run Rust audit task using stable toolchain"
rust: stable
env: TASK=audit
# Run fmt on rust beta, to observe any upcoming formatting changes
- rust: beta
before_script:
- rustup component add rustfmt
env: TASK=fmt-travis

branches:
only: master
Expand Down
212 changes: 212 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,83 @@
stratisd 2.0.1
==============
Recommended Rust toolchain version: 1.40
Lowest supported Rust toolchain version: 1.39
Python import sorter: isort (4.3.4)
Python auto-formatter: black (19.3b0)

- Avoid returning from function while pool is suspended:
https://github.com/stratis-storage/stratisd/issues/1730
https://github.com/stratis-storage/stratisd/pull/1734

- Refine description of stratisd.service in systemd configuration:
https://github.com/stratis-storage/stratisd/issues/1647
https://github.com/stratis-storage/stratisd/pull/1738

- Fix a few places where the index of an incorrect D-Bus argument would be
misidentified in a D-Bus error message:
https://github.com/stratis-storage/stratisd/pull/1756

- Add changelog matter from two previous releases to CHANGES.txt:
https://github.com/stratis-storage/stratisd/pull/1793

- Add some additional logging for significant events:
https://github.com/stratis-storage/stratisd/pull/1797

- Restructure dbus_api module to better support multiple versioned
interfaces:
https://github.com/stratis-storage/stratisd/pull/1804
https://github.com/stratis-storage/stratisd/pull/1776
https://github.com/stratis-storage/stratisd/pull/1770

- Refactor device discovery mechanism:
https://github.com/stratis-storage/stratisd/pull/1779
https://github.com/stratis-storage/stratisd/pull/1767
https://github.com/stratis-storage/stratisd/pull/1765
https://github.com/stratis-storage/stratisd/pull/1759
https://github.com/stratis-storage/stratisd/pull/1750
https://github.com/stratis-storage/stratisd/pull/1739
https://github.com/stratis-storage/stratisd/pull/1736
https://github.com/stratis-storage/stratisd/pull/1725
https://github.com/stratis-storage/stratisd/pull/1723

- Refactor idempotency implementation so that it is handled as close to
entry points to the engine as possible:
https://github.com/stratis-storage/stratisd/pull/1743

- Refactor metadata handling for better encapsulation:
https://github.com/stratis-storage/stratisd/pull/1792

- Fully qualify all non-prelude data types in macros:
https://github.com/stratis-storage/stratisd/issues/1748
https://github.com/stratis-storage/stratisd/pull/1758

- Tidies and Maintenance:
https://github.com/stratis-storage/stratisd/pull/1803
https://github.com/stratis-storage/stratisd/pull/1796
https://github.com/stratis-storage/stratisd/pull/1791
https://github.com/stratis-storage/stratisd/pull/1786
https://github.com/stratis-storage/stratisd/pull/1785
https://github.com/stratis-storage/stratisd/pull/1777
https://github.com/stratis-storage/stratisd/pull/1774
https://github.com/stratis-storage/stratisd/pull/1772
https://github.com/stratis-storage/stratisd/pull/1763
https://github.com/stratis-storage/stratisd/pull/1762
https://github.com/stratis-storage/stratisd/pull/1758
https://github.com/stratis-storage/stratisd/pull/1745
https://github.com/stratis-storage/stratisd/pull/1728
https://github.com/stratis-storage/stratisd/pull/1726
https://github.com/stratis-storage/stratisd/pull/1724
https://github.com/stratis-storage/stratisd/pull/1721
https://github.com/stratis-storage/stratisd/pull/1715
https://github.com/stratis-storage/stratisd/pull/1714
https://github.com/stratis-storage/stratisd/pull/1713
https://github.com/stratis-storage/stratisd/pull/1712
https://github.com/stratis-storage/stratisd/pull/1709
https://github.com/stratis-storage/stratisd/pull/1707
https://github.com/stratis-storage/stratisd/pull/1704
https://github.com/stratis-storage/stratisd/pull/1701


stratisd 2.0.0
==============
Recommended Rust toolchain version: 1.38
Expand Down Expand Up @@ -125,3 +205,135 @@ New minimum Rust crate requirements:
https://github.com/stratis-storage/stratisd/pull/1566
https://github.com/stratis-storage/stratisd/pull/1565
https://github.com/stratis-storage/stratisd/pull/1563


stratisd 1.0.5
==============
Recommended Rust toolchain version: 1.33
Lowest supported Rust toolchain version: 1.31
Python auto-formatter: yapf (0.21.0)

New minimum Rust crate requirements:
- devicemapper: 0.28
- libmount: 0.1.13
- nix: 0.14

- Fix an error in the calculation of the maximum size of variable length
metadata that a single block device can store:
https://github.com/stratis-storage/stratisd/pull/1524

- Make a note of some code defects that would cause a bug if variable
length metadata were very large, as might occur if a pool contained very
many devices:
https://github.com/stratis-storage/stratisd/pull/1521

- Clarify the error message that stratisd displays if an external application
that it depends on is missing:
https://github.com/stratis-storage/stratisd/pull/1547

- Use nested imports in all Rust source:
https://github.com/stratis-storage/stratisd/pull/1517

- Metadata refactoring to improve encapsulation and clarity and to use
types to distinguish among the sizes of different metadata regions:
https://github.com/stratis-storage/stratisd/pull/1554
https://github.com/stratis-storage/stratisd/pull/1549
https://github.com/stratis-storage/stratisd/pull/1546
https://github.com/stratis-storage/stratisd/pull/1545
https://github.com/stratis-storage/stratisd/pull/1541
https://github.com/stratis-storage/stratisd/pull/1534
https://github.com/stratis-storage/stratisd/pull/1522
https://github.com/stratis-storage/stratisd/pull/1516

- Tidies and Maintenance:
https://github.com/stratis-storage/stratisd/pull/1560
https://github.com/stratis-storage/stratisd/pull/1555
https://github.com/stratis-storage/stratisd/pull/1553
https://github.com/stratis-storage/stratisd/pull/1552
https://github.com/stratis-storage/stratisd/pull/1550
https://github.com/stratis-storage/stratisd/pull/1537
https://github.com/stratis-storage/stratisd/pull/1536
https://github.com/stratis-storage/stratisd/pull/1535
https://github.com/stratis-storage/stratisd/pull/1532
https://github.com/stratis-storage/stratisd/pull/1530
https://github.com/stratis-storage/stratisd/pull/1528
https://github.com/stratis-storage/stratisd/pull/1525
https://github.com/stratis-storage/stratisd/pull/1515
https://github.com/stratis-storage/stratisd/pull/1508
https://github.com/stratis-storage/stratisd/pull/1507


stratisd 1.0.4
==============
Recommended Rust toolchain version: 1.33
Lowest supported Rust toolchain version: 1.31
Python auto-formatter: yapf (0.21.0)

New minimum Rust crate requirements:
- devicemapper: 0.27.0
- libc: 0.2.47
- nix: 0.13

- Fix a bug where stratisd was not writing to Stratis filesystem metadata
properly:
https://github.com/stratis-storage/stratisd/pull/1480

- Require new version of devicemapper that contains fixes to devicemapper
status parsing code, and handle the newly available values appropriately:
https://github.com/stratis-storage/stratisd/pull/1461

- Set RUST_BACKTRACE to 1 in the systemd service file in order to ensure that
a stack trace is generated if stratisd panics:
https://github.com/stratis-storage/stratisd/pull/1479

- Use edition 2018:
https://github.com/stratis-storage/stratisd/pull/1501

- Do not combine the errors that might result from reading one or the other
of the Stratis static headers from a device:
https://github.com/stratis-storage/stratisd/pull/1439

- Tidies and Maintenance:
https://github.com/stratis-storage/stratisd/pull/1510
https://github.com/stratis-storage/stratisd/pull/1505
https://github.com/stratis-storage/stratisd/pull/1504
https://github.com/stratis-storage/stratisd/pull/1503
https://github.com/stratis-storage/stratisd/pull/1500
https://github.com/stratis-storage/stratisd/pull/1498
https://github.com/stratis-storage/stratisd/pull/1497
https://github.com/stratis-storage/stratisd/pull/1493
https://github.com/stratis-storage/stratisd/pull/1492
https://github.com/stratis-storage/stratisd/pull/1488
https://github.com/stratis-storage/stratisd/pull/1484
https://github.com/stratis-storage/stratisd/pull/1477
https://github.com/stratis-storage/stratisd/pull/1469
https://github.com/stratis-storage/stratisd/pull/1459
https://github.com/stratis-storage/stratisd/pull/1452
https://github.com/stratis-storage/stratisd/pull/1451
https://github.com/stratis-storage/stratisd/pull/1450
https://github.com/stratis-storage/stratisd/pull/1442
https://github.com/stratis-storage/stratisd/pull/1441
https://github.com/stratis-storage/stratisd/pull/1436
https://github.com/stratis-storage/stratisd/pull/1435
https://github.com/stratis-storage/stratisd/pull/1434
https://github.com/stratis-storage/stratisd/pull/1432
https://github.com/stratis-storage/stratisd/pull/1431
https://github.com/stratis-storage/stratisd/pull/1427
https://github.com/stratis-storage/stratisd/pull/1425
https://github.com/stratis-storage/stratisd/pull/1423
https://github.com/stratis-storage/stratisd/pull/1420
https://github.com/stratis-storage/stratisd/pull/1418
https://github.com/stratis-storage/stratisd/pull/1416
https://github.com/stratis-storage/stratisd/pull/1415
https://github.com/stratis-storage/stratisd/pull/1414
https://github.com/stratis-storage/stratisd/pull/1413
https://github.com/stratis-storage/stratisd/pull/1412
https://github.com/stratis-storage/stratisd/pull/1411
https://github.com/stratis-storage/stratisd/pull/1409
https://github.com/stratis-storage/stratisd/pull/1407
https://github.com/stratis-storage/stratisd/pull/1406
https://github.com/stratis-storage/stratisd/pull/1405
https://github.com/stratis-storage/stratisd/pull/1404
https://github.com/stratis-storage/stratisd/pull/1403
https://github.com/stratis-storage/stratisd/pull/1391
https://github.com/stratis-storage/stratisd/pull/1345
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libstratis"
version = "2.0.0"
version = "2.0.1"
authors = ["Stratis Developers <stratis-devel@lists.fedorahosted.com>"]
edition = "2018"

Expand Down
Loading

0 comments on commit 8741825

Please sign in to comment.