Revise install instructions (+ install Java 11 everywhere, and update pyenv to use Python 3.8.3) #3847

Merged
Jackenmen merged 26 commits from V3/docs_ensure_java11 into V3/develop 2020-05-28 22:59:25 +02:00
Jackenmen commented 2020-05-13 18:29:13 +02:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Java 11 Checklist:

  • Windows (no changes)
  • Arch Linux (install command updated)
  • CentOS and RHEL 7 (no changes)
  • CentOS and RHEL 8 (no changes)
  • Debian Stretch (no changes)
  • Debian and Raspbian Buster (no changes)
  • Fedora Linux 30+ (install command updated)
  • MacOS (no changes)
  • openSUSE Leap (no changes)
  • openSUSE Tumbleweed (install command updated)
  • Ubuntu 20.04 (no changes)
  • Ubuntu 18.04 (no changes)
  • Ubuntu 16.04 (install command updated)

Other changes:

  • Stop telling people to add deadsnakes ppa in instructions for Ubuntu 20.04 (now split) - deadsnakes doesn't provide Python 3.8 as it's a main system python in Ubuntu 20.04
  • Recommend Ubuntu 20.04 over 18 in getting started guide
  • Use headless jre everywhere
  • Remove unneeded -u for Ubuntu 20.04 and 18.04
  • Use openjdk-11-jre-headless instead of default-jre-headless on all ubuntus (installs same thing but is more explicit)
  • Add non-interactive flags to zypper calls
  • Fix CentOS 7 instructions (use yum swap to install Git 2.11+, use git224 instead of archived git2u, use gcc 8 to compile Python with pyenv)
  • Make pyenv instructions use Python 3.8.3
  • Use new IUS repo url for CentOS 7 (old one is a redirect)
  • Emphasise info about pyenv's warning

Test of install instructions:
https://github.com/jack1142/Red-DiscordBot/actions/runs/107526897

### Type - [ ] Bugfix - [x] Enhancement - [ ] New feature ### Description of the changes Java 11 Checklist: - [x] Windows (no changes) - [x] Arch Linux (install command updated) - [x] CentOS and RHEL 7 (no changes) - [x] CentOS and RHEL 8 (no changes) - [x] Debian Stretch (no changes) - [x] Debian and Raspbian Buster (no changes) - [x] Fedora Linux 30+ (install command updated) - [x] MacOS (no changes) - [x] openSUSE Leap (no changes) - [x] openSUSE Tumbleweed (install command updated) - [x] Ubuntu 20.04 (no changes) - [x] Ubuntu 18.04 (no changes) - [x] Ubuntu 16.04 (install command updated) Other changes: - Stop telling people to add `deadsnakes` ppa in instructions for Ubuntu 20.04 (now split) - `deadsnakes` doesn't provide Python 3.8 as it's a main system python in Ubuntu 20.04 - Recommend Ubuntu 20.04 over 18 in getting started guide - Use headless jre everywhere - Remove unneeded `-u` for Ubuntu 20.04 and 18.04 - Use `openjdk-11-jre-headless` instead of `default-jre-headless` on all ubuntus (installs same thing but is more explicit) - Add non-interactive flags to `zypper` calls - Fix CentOS 7 instructions (use `yum swap` to install Git 2.11+, use `git224` instead of archived `git2u`, use gcc 8 to compile Python with pyenv) - Make pyenv instructions use Python 3.8.3 - Use new IUS repo url for CentOS 7 (old one is a redirect) - Emphasise info about pyenv's warning Test of install instructions: https://github.com/jack1142/Red-DiscordBot/actions/runs/107526897
palmtree5 (Migrated from github.com) reviewed 2020-05-13 18:29:13 +02:00
tekulvw (Migrated from github.com) reviewed 2020-05-13 18:29:13 +02:00
Jackenmen commented 2020-05-14 04:36:54 +02:00 (Migrated from github.com)

This is now ready for review, all changes here have been tested.

This is now ready for review, all changes here have been tested.
Jackenmen commented 2020-05-15 15:23:09 +02:00 (Migrated from github.com)

This turned into a PR that revises whole install instructions - install instructions will now install Java 11 (not older, not newer) on all OSes, CentOS 7 instructions have been vastly improved/fixed, pyenv instructions install Python 3.8.3 now and there are plenty of small improvements that are all listed in PR's description. I made sure that everything here works and except for the small thing from #3852 that is problematic in some macOS environments, I don't think there's anything else in the commands that would need fixing,

This turned into a PR that revises whole install instructions - install instructions will now install Java 11 (not older, not newer) on all OSes, CentOS 7 instructions have been vastly improved/fixed, `pyenv` instructions install Python 3.8.3 now and there are plenty of small improvements that are all listed in PR's description. I made sure that everything here works and except for the small thing from #3852 that is problematic in some macOS environments, I don't think there's anything else in the commands that would need fixing,
Kowlin (Migrated from github.com) approved these changes 2020-05-28 22:45:21 +02:00
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!3847
No description provided.