Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove /opt/graphite prefix and use setuptools #2409

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Commits on Feb 20, 2019

  1. Use setuptools and don't install in /opt/graphite anymore

    Don't install in /opt/graphite anymore, this is just strange and causes nothing
    but trouble. Setuptools does not support it either.
    
    Switch to setuptools to get rid of following warnings:
    UserWarning: Unknown distribution option: 'install_requires'
    UserWarning: Unknown distribution option: 'long_description_content_type'
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    95ffc24 View commit details
    Browse the repository at this point in the history
  2. Remove synthesize from installation documentation

    Synthesize is not being updated anymore (latest version is 1.0.2). Removing
    it from the docs to not confuse users. And we have an official docker image now.
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    41a7eda View commit details
    Browse the repository at this point in the history
  3. Default GRAPHITE_ROOT to sys.prefix

    The GRAPHITE_ROOT was to be set to the parent directory of the path where
    graphite-web is installed. The `storage`, `static` and `content` directories are
    set to be dubdirs of GRAPHITE_ROOT.
    
    If installing Graphite in the regular Python path's this would make the directories
    look something like `/usr/lib/python3.7/{storage,static,conf}`. Which is probably not
    what the user wants.
    
    This sets the default to `sys.prefix`.
    
    sys.prefix
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    c1aa974 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6e5792 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f44d8b0 View commit details
    Browse the repository at this point in the history
  6. Move static assets to the project directory

    Installing the static assets in the project directory instead of an external directory
    make installation easier.
    
    Add whitenoise to requires in setup.py so that the static assets are automatically (without
    user action) served after installation.
    
    Remove package_data from setup.py, you should use package_data or MANIFEST.in to specify
    which non-python files have to be installed, not both.
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    89a0d6b View commit details
    Browse the repository at this point in the history
  7. Remove STATICFILES_DIRS from settings.py and add explanation in local…

    …_settings.py
    
    Fixes dashboards which were broken with last commit
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    ce76c4a View commit details
    Browse the repository at this point in the history
  8. Update and simplify docs

    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    15185fa View commit details
    Browse the repository at this point in the history
  9. Docs: Add upgrade instructions

    Fix some spelling
    piotr1212 committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    caed07b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    de040e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Configuration menu
    Copy the full SHA
    ac582bc View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Configuration menu
    Copy the full SHA
    fc6481f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Configuration menu
    Copy the full SHA
    424545b View commit details
    Browse the repository at this point in the history
  2. pin whitenoise < 5

    piotr1212 committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    e18778d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Configuration menu
    Copy the full SHA
    785a8f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42cc6d2 View commit details
    Browse the repository at this point in the history