Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2020 19:29:04 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528247 - in head/net-mgmt/netbox: . files
Message-ID:  <202003111929.02BJT4nx060866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Mar 11 19:29:04 2020
New Revision: 528247
URL: https://svnweb.freebsd.org/changeset/ports/528247

Log:
  net-mgmt/netbox: Update to 2.7.9
  
  Changelog:
  
  Enhancements:
  * Enumerate ChoiceField type and value in API
  * Extend upgrade script to clear expired user sessions
  * Add dynamic lookup expressions for all filters
  * Allow negative voltage for DC power feeds
  * Allow filtering device component list views by type
  * Add MRJ21 port and cable types
  * Include device name in tooltip on rack elevations
  * Add 10-inch option for rack width
  
  Bug Fixes:
  * Fix incorrect schema definition of int type choicefields
  * Fix filtering of clusters by tenant
  * Fix label on export button for device types
  * Include A/Z termination sites in provider circuits table
  * Fix assignment of parent LAG during interface bulk edit
  * Fix bulk creation of objects with custom fields via REST API
  * Pass "commit" argument when executing scripts via REST API
  * Fix exception when deleting device type with components
  * Fix toggling of device images for all racks in elevations view
  
  https://github.com/netbox-community/netbox/releases/tag/v2.7.9

Modified:
  head/net-mgmt/netbox/Makefile
  head/net-mgmt/netbox/distinfo
  head/net-mgmt/netbox/files/pkg-message.in
  head/net-mgmt/netbox/pkg-plist

Modified: head/net-mgmt/netbox/Makefile
==============================================================================
--- head/net-mgmt/netbox/Makefile	Wed Mar 11 19:08:47 2020	(r528246)
+++ head/net-mgmt/netbox/Makefile	Wed Mar 11 19:29:04 2020	(r528247)
@@ -2,7 +2,7 @@
 
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.7.8
+DISTVERSION=	2.7.9
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	kai@FreeBSD.org
@@ -35,7 +35,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=2.2<2.3:
 		${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.4:databases/py-psycopg2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}redis>=3.3.11:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}svgwrite>=1.3.1:graphics/py-svgwrite@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}gunicorn>=19.9.0.:www/py-gunicorn@${PY_FLAVOR}
 
 USES=		pgsql:9.4+ python:3.5+
 USE_GITHUB=	yes

Modified: head/net-mgmt/netbox/distinfo
==============================================================================
--- head/net-mgmt/netbox/distinfo	Wed Mar 11 19:08:47 2020	(r528246)
+++ head/net-mgmt/netbox/distinfo	Wed Mar 11 19:29:04 2020	(r528247)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1583180310
-SHA256 (netbox-community-netbox-v2.7.8_GH0.tar.gz) = df320c6988c777b559179d4c2988165157b49ee486d8cafb3c5021fadf5c581b
-SIZE (netbox-community-netbox-v2.7.8_GH0.tar.gz) = 5587481
+TIMESTAMP = 1583939316
+SHA256 (netbox-community-netbox-v2.7.9_GH0.tar.gz) = deecba87398c71fdc4e727c9d56056cd721860233288065f6e7c4359ec8f7f50
+SIZE (netbox-community-netbox-v2.7.9_GH0.tar.gz) = 5593088

Modified: head/net-mgmt/netbox/files/pkg-message.in
==============================================================================
--- head/net-mgmt/netbox/files/pkg-message.in	Wed Mar 11 19:08:47 2020	(r528246)
+++ head/net-mgmt/netbox/files/pkg-message.in	Wed Mar 11 19:29:04 2020	(r528247)
@@ -17,11 +17,14 @@ database migrations will be executed.
 
 The following steps are required to finish the upgrade: 
 
-1. Run database migrations and collect static files:
+1. Run database migrations, collect static files, remove stale content files
+   and clear all cached data:
 
 # cd %%DATADIR%%
 # python%%PYTHON_VER%% manage.py migrate
 # python%%PYTHON_VER%% manage.py collectstatic --no-input
+# python%%PYTHON_VER%% manage.py remove_stale_contenttypes --no-input
+# python%%PYTHON_VER%% manage.py invalidate all
 
 2. Restart WSGI/httpd environment (supervisord/apache/nginx/etc.)
 EOD
@@ -155,6 +158,16 @@ command to recalculate their naturalized values after 
 # cd %%DATADIR%%
 # python%%PYTHON_VER%% manage.py renaturalize dcim.Interface
 
+EOD
+}
+{ type: upgrade
+  maximum_version: 2.7.9
+  message: <<EOD
+Please note that two additional steps (remove stale content & clear cached
+files) are now required after each update of NetBox.
+
+These were added to the existing update instructions which are displayed with
+each update.
 EOD
 }
 ]

Modified: head/net-mgmt/netbox/pkg-plist
==============================================================================
--- head/net-mgmt/netbox/pkg-plist	Wed Mar 11 19:08:47 2020	(r528246)
+++ head/net-mgmt/netbox/pkg-plist	Wed Mar 11 19:29:04 2020	(r528247)
@@ -15,6 +15,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/administration/replicating-netbox.md
 %%PORTDOCS%%%%DOCSDIR%%/api/authentication.md
 %%PORTDOCS%%%%DOCSDIR%%/api/examples.md
+%%PORTDOCS%%%%DOCSDIR%%/api/filtering.md
 %%PORTDOCS%%%%DOCSDIR%%/api/overview.md
 %%PORTDOCS%%%%DOCSDIR%%/api/working-with-secrets.md
 %%PORTDOCS%%%%DOCSDIR%%/configuration/index.md
@@ -38,11 +39,11 @@
 %%PORTDOCS%%%%DOCSDIR%%/development/utility-views.md
 %%PORTDOCS%%%%DOCSDIR%%/index.md
 %%PORTDOCS%%%%DOCSDIR%%/installation/1-postgresql.md
-%%PORTDOCS%%%%DOCSDIR%%/installation/2-netbox.md
-%%PORTDOCS%%%%DOCSDIR%%/installation/3-http-daemon.md
-%%PORTDOCS%%%%DOCSDIR%%/installation/4-ldap.md
+%%PORTDOCS%%%%DOCSDIR%%/installation/2-redis.md
+%%PORTDOCS%%%%DOCSDIR%%/installation/3-netbox.md
+%%PORTDOCS%%%%DOCSDIR%%/installation/4-http-daemon.md
+%%PORTDOCS%%%%DOCSDIR%%/installation/5-ldap.md
 %%PORTDOCS%%%%DOCSDIR%%/installation/index.md
-%%PORTDOCS%%%%DOCSDIR%%/installation/migrating-to-python3.md
 %%PORTDOCS%%%%DOCSDIR%%/installation/migrating-to-systemd.md
 %%PORTDOCS%%%%DOCSDIR%%/installation/upgrading.md
 %%PORTDOCS%%%%DOCSDIR%%/media/installation/netbox_ui_admin.png
@@ -103,6 +104,7 @@
 %%DATADIR%%/circuits/migrations/0017_circuittype_description.py
 %%DATADIR%%/circuits/migrations/__init__.py
 %%DATADIR%%/circuits/models.py
+%%DATADIR%%/circuits/querysets.py
 %%DATADIR%%/circuits/signals.py
 %%DATADIR%%/circuits/tables.py
 %%DATADIR%%/circuits/tests/__init__.py
@@ -203,7 +205,6 @@
 %%DATADIR%%/dcim/migrations/0069_deprecate_nullablecharfield.py
 %%DATADIR%%/dcim/migrations/0070_custom_tag_models.py
 %%DATADIR%%/dcim/migrations/0071_device_components_add_description.py
-%%DATADIR%%/dcim/migrations/0071_device_components_add_description_squashed_0088_powerfeed_available_power.py
 %%DATADIR%%/dcim/migrations/0072_powerfeeds.py
 %%DATADIR%%/dcim/migrations/0073_interface_form_factor_to_type.py
 %%DATADIR%%/dcim/migrations/0074_increase_field_length_platform_name_slug.py
@@ -232,6 +233,7 @@
 %%DATADIR%%/dcim/migrations/0096_interface_ordering.py
 %%DATADIR%%/dcim/migrations/0097_interfacetemplate_type_other.py
 %%DATADIR%%/dcim/migrations/0098_devicetype_images.py
+%%DATADIR%%/dcim/migrations/0099_powerfeed_negative_voltage.py
 %%DATADIR%%/dcim/migrations/__init__.py
 %%DATADIR%%/dcim/models/__init__.py
 %%DATADIR%%/dcim/models/device_component_templates.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003111929.02BJT4nx060866>