소스 검색

HUE-9390 [docs] Simpler instructions on how to update mysqlclient

Romain 5 년 전
부모
커밋
7eb455c950

+ 8 - 1
docs/docs-site/content/administrator/installation/dependencies/_index.md

@@ -25,13 +25,20 @@ Hue is being ran the most with [MySQL InnoDB, PostgreSQL or Oracle](https://docs
 
 The client lib [MySQL-python](https://github.com/cloudera/hue/tree/master/desktop/core/ext-py/MySQL-python-1.2.5) is already included so it should work out of the box.
 
+**Note**
+
 With the recent OSs like Ubuntu 20.04 or using Python 3, the MySQL-python lib won't compile properly and will produce an error similar to:
 
     _mysql.c: Cannot open include file my_config.h
 
 The lib folder needs to be swapped with https://pypi.org/project/mysqlclient/. Unfortunately for licensing reason (GPL vs Apache) this can't be officially done in the Hue repository.
 
-Read [HUE-9390](https://issues.cloudera.org/browse/HUE-9390) for more details and the two commits doing this change.
+Remove and add the compatible MySql lib with these two commands:
+
+    git cherry-pick 7a9100d4a7f38eaef7bd4bd7c715ac1f24a969a8
+    git cherry-pick e67c1105b85b815346758ef1b9cd714dd91d7ea3
+
+Read [HUE-9390](https://issues.cloudera.org/browse/HUE-9390) for more details.
 
 ### PostgreSQL
 

+ 1 - 0
docs/docs-site/content/developer/development/_index.md

@@ -882,6 +882,7 @@ Tagging the release:
 
 Building the tarball release:
 
+    git checkout -b release-4.8.0 release-4.8.0
     make prod
 
 Source of the release: https://github.com/cloudera/hue/archive/release-4.8.0.zip

+ 1 - 1
docs/docs-site/content/releases/release-notes-4.8.0.md

@@ -13,7 +13,7 @@ Hue is an open source SQL Cloud Assistant for developing and accessing [Database
 
 ### Summary
 
-This release brings all these improvements on top of [4.7](https://gethue.com/hue-4-7-and-its-improvements-are-out/).
+This release brings all these improvements on top of [4.7](https://gethue.com/blog/hue-4-7-and-its-improvements-are-out/).
 
 Download the [tarball](https://cdn.gethue.com/downloads/hue-4.8.0.tgz) or [source](https://github.com/cloudera/hue/archive/release-4.8.0.zip) releases.