Skip to content

Commit 2bfc06c

Browse files
author
Diego Nadares
committed
Merge branch 'white/staging' into white/master
2 parents 622a1af + b421657 commit 2bfc06c

File tree

87 files changed

+1481
-2622
lines changed

Some content is hidden

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

87 files changed

+1481
-2622
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,9 @@ _install
8181
faraday_plugins/
8282
faraday/frontend/
8383
.cache
84+
85+
## OSX files
86+
.DS_Store
87+
88+
# nix build
89+
result

.gitlab/ci/build-ci/.prebuild-gitlab-ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,11 @@ generate_build_file_master:
7777
artifacts: true
7878

7979
build_nix_python3_dev:
80-
image: nixos/nix:2.3.10
80+
image: nixos/nix:2.16.0
8181
stage: pre_build
8282
tags:
8383
- digitalocean-dev
8484
script:
85-
- apk update
86-
- apk add git bash tar
8785
- nix-env -if pynixify/nixpkgs.nix -A cachix gnugrep
8886
- nix-env -if pynixify/nixpkgs.nix -A vault
8987
- !reference [ .get_secrets, script ]
@@ -116,13 +114,11 @@ build_nix_python3_dev:
116114
artifacts: true
117115

118116
build_nix_python3_staging:
119-
image: nixos/nix:2.3.10
117+
image: nixos/nix:2.16.0
120118
stage: pre_build
121119
tags:
122120
- digitalocean-dev
123121
script:
124-
- apk update
125-
- apk add git bash tar
126122
- nix-env -if pynixify/nixpkgs.nix -A cachix gnugrep
127123
- nix-env -if pynixify/nixpkgs.nix -A vault
128124
- !reference [ .get_secrets, script ]
@@ -152,13 +148,11 @@ build_nix_python3_staging:
152148
artifacts: true
153149

154150
build_nix_python3_master:
155-
image: nixos/nix:2.3.10
151+
image: nixos/nix:2.16.0
156152
stage: pre_build
157153
tags:
158154
- digitalocean-dev
159155
script:
160-
- apk update
161-
- apk add git bash tar
162156
- nix-env -if pynixify/nixpkgs.nix -A cachix gnugrep
163157
- nix-env -if pynixify/nixpkgs.nix -A vault
164158
- !reference [ .get_secrets, script ]

.gitlab/ci/testing/.hypothesis-nix-gitlab-ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
test_hypothesis:
22
tags:
33
- hypothesis
4-
image: nixos/nix:2.3.10
4+
image: nixos/nix:2.16.0
55
stage: test
66
allow_failure: true
77
script:
8-
- apk update
9-
- apk add git bash
108
- nix-env -if pynixify/nixpkgs.nix -A vault
119
- !reference [ .get_secrets, script ]
1210
- nix-env -if pynixify/nixpkgs.nix -A cachix

.gitlab/ci/testing/.nix-testing-gitlab-ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
pylint:
22
tags:
33
- faradaytests
4-
image: nixos/nix:2.3.10
4+
image: nixos/nix:2.16.0
55
stage: test # This should be after build_and_push_to_cachix to improve performance
66
script:
7-
- apk update
8-
- apk add git bash
97
- nix-env -if pynixify/nixpkgs.nix -A vault
108
- !reference [ .get_secrets, script ]
119
- nix-env -if pynixify/nixpkgs.nix -A cachix
@@ -34,8 +32,6 @@ pylint:
3432
stage: test
3533
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
3634
script:
37-
- apk update
38-
- apk add git bash
3935
- nix-env -if pynixify/nixpkgs.nix -A vault
4036
- !reference [ .get_secrets, script ]
4137
- nix-env -if pynixify/nixpkgs.nix -A cachix
@@ -70,8 +66,6 @@ pylint:
7066
stage: test
7167
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
7268
script:
73-
- apk update
74-
- apk add git bash
7569
- nix-env -if pynixify/nixpkgs.nix -A vault
7670
- !reference [ .get_secrets, script ]
7771
- nix-env -if pynixify/nixpkgs.nix -A cachix
@@ -101,8 +95,8 @@ pylint:
10195

10296
sqlite_test_nix:
10397
extends: .sqlite_test_nix_base
104-
image: nixos/nix:2.3.10
98+
image: nixos/nix:2.16.0
10599

106100
postgresql_test_nix:
107101
extends: .postgresql_test_nix_base
108-
image: nixos/nix:2.3.10
102+
image: nixos/nix:2.16.0

.gitlab/ci/testing/.pretesting-gitlab-ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,12 @@ bandit:
7272
build_and_push_to_cachix:
7373
tags:
7474
- faradaytests
75-
image: nixos/nix:2.3.10
75+
image: nixos/nix:2.16.0
7676
stage: pre_testing
7777
variables:
7878
# Note: this size has to fit both our community, professional and corporate versions
7979
MAX_CLOSURE_SIZE_IN_MB: 850
8080
script:
81-
- apk update
82-
- apk add git bash
8381
- nix-env -if pynixify/nixpkgs.nix -A vault
8482
- nix-env -if pynixify/nixpkgs.nix -A cachix
8583
- nix-env -if pynixify/nixpkgs.nix -A gawk

.pylintrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,9 @@ disable=blacklisted-name,
280280
map-builtin-not-iterating,
281281
unused-import,
282282
comparison-with-callable,
283-
unused-variable
283+
unused-variable,
284+
method-cache-max-size-none,
285+
consider-using-with
284286

285287

286288

@@ -542,8 +544,7 @@ max-module-lines=1000
542544
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
543545
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
544546
# `empty-line` allows space-only lines.
545-
no-space-check=trailing-comma,
546-
dict-separator
547+
# no-space-check=trailing-comma, dict-separator
547548

548549
# Allow the body of a class to be on the same line as the declaration if body
549550
# contains single statement.
@@ -756,4 +757,4 @@ known-third-party=enchant
756757

757758
# Exceptions that will emit a warning when being caught. Defaults to
758759
# "Exception"
759-
overgeneral-exceptions=Exception
760+
overgeneral-exceptions=builtins.Exception

CHANGELOG/4.5.0/community.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* [MOD] Upgrade nixpkgs version to 23.05. Also update version of packages in requirements. #7518
2+
* [FIX] Add missing `scope` cvss3 field. #7493
3+
* [FIX] Improve performance in `hosts` and `hosts/filter` views. #7501

CHANGELOG/4.5.0/date.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Jul 7th, 2023

RELEASE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
New features in the latest update
22
=====================================
33

4+
4.5.0 [Jul 7th, 2023]:
5+
---
6+
* [MOD] Upgrade nixpkgs version to 23.05. Also update version of packages in requirements. #7518
7+
* [FIX] Add missing `scope` cvss3 field. #7493
8+
* [FIX] Improve performance in `hosts` and `hosts/filter` views. #7501
49

510
4.4.0 [May 29th, 2023]:
611
---

faraday/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
See the file 'doc/LICENSE' for the license information
55
"""
66

7-
__version__ = '4.4.0'
7+
__version__ = '4.5.0'
88
__license_version__ = __version__

0 commit comments

Comments
 (0)