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

[1.1.x] set package long description (#2407) | fix dashboard graph metric list icon paths with URL_PREFIX (#2424) | docs: for sql db migration to 1.1 recommend --fake-initial (#2425) | add tag formatting docs (#2426) | Update tags.rst (#242 #2503

Merged
merged 49 commits into from
Oct 23, 2019
Merged

[1.1.x] set package long description (#2407) | fix dashboard graph metric list icon paths with URL_PREFIX (#2424) | docs: for sql db migration to 1.1 recommend --fake-initial (#2425) | add tag formatting docs (#2426) | Update tags.rst (#242 #2503

merged 49 commits into from
Oct 23, 2019

Conversation

deniszh
Copy link
Member

@deniszh deniszh commented Oct 23, 2019

Backports the following commits to 1.1.x:

YevhenLukomskyi and others added 30 commits October 23, 2019 18:20
use global *_ICON vars like the other image assets
... and --run-syncdb should no longer be needed.

Initial migrations were created for all models just before 1.1.0
in d1912d4. Prior to that, some models did not have any
migrations (and no initial migration), so --run-syncdb was needed
to create tables for them. But now that they have initial migrations,
those migrations run because django knows they have never been
applied, and they fail because the tables already exist. The
--fake-initial option is designed for this situation: it considers
initial migrations already done if the tables already exist.
This never worked right, but the backend dealt with it until recent changes.

This only happens when the dashboard template is loaded directly from the URL
Using slightly modified functions util.parseDestination(s) from Carbon project.
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.8.2).
Change BufferedHTTPReader from extending IOBase to FileIO
Move parse_qs from cgi to six.moves
add: adds a constant to a list of series, easier than sumSeries(serie,
constantLine(5)) and add a constant to a list of series without summing them.

exp: datapoint to the power of e

logit and sigmoid: logistic functions

Sort transform functions alphabetically in the composer pulldown.
…missing default params, better error messages
@codecov-io
Copy link

codecov-io commented Oct 23, 2019

Codecov Report

Merging #2503 into 1.1.x will decrease coverage by 0.13%.
The diff coverage is 81.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##            1.1.x    #2503      +/-   ##
==========================================
- Coverage   79.79%   79.66%   -0.14%     
==========================================
  Files          85       85              
  Lines        8910     9091     +181     
  Branches     1906     1948      +42     
==========================================
+ Hits         7110     7242     +132     
- Misses       1537     1573      +36     
- Partials      263      276      +13
Impacted Files Coverage Δ
webapp/graphite/tags/redis.py 91.82% <ø> (ø) ⬆️
webapp/graphite/composer/views.py 23.8% <ø> (-31.75%) ⬇️
webapp/graphite/app_settings.py 70.96% <ø> (-6.46%) ⬇️
webapp/graphite/composer/urls.py 100% <ø> (ø) ⬆️
webapp/graphite/settings.py 75.74% <100%> (-1.87%) ⬇️
webapp/graphite/carbonlink.py 51.92% <100%> (-1.42%) ⬇️
webapp/graphite/errors.py 100% <100%> (ø) ⬆️
webapp/graphite/render/evaluator.py 90.34% <50%> (-9.66%) ⬇️
webapp/graphite/tags/utils.py 81.08% <55.55%> (-7.39%) ⬇️
webapp/graphite/util.py 90% <61.11%> (-3.4%) ⬇️
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53d9643...8699b8b. Read the comment docs.

@deniszh deniszh merged commit d5a01b0 into graphite-project:1.1.x Oct 23, 2019
@deniszh deniszh deleted the backport/1.1.x/pr-2407_pr-2424_pr-2425_pr-2426_pr-2426_pr-2426_pr-2431_pr-2433_pr-2436_pr-2436_pr-2443_commit-91ed1c0b_pr-2450_pr-2450_pr-2451_pr-2452_pr-2452_pr-2462_pr-2462_pr-2463_pr-2464_pr-2464_pr-2466_pr-2467_ branch October 23, 2019 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.