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

Automatically redirect on older version, detected from User-Agent #14

Merged
merged 2 commits into from
Jul 6, 2020

Conversation

srevinsaju
Copy link
Member

#6 / GSoC requirement!

Sugar Store now automatically redirects to ASLOv1 (Legacy
activities.sugarlabs.org (Python2-only)) if an older version of Sugar is
detected on the host system (0.112 or older).

The user-agent is parsed to get the version of Sugar Desktop Environment
using regex.

Thanks to @diogoscf for the regex
@srevinsaju srevinsaju mentioned this pull request Jul 6, 2020
@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   31.95%   31.95%           
=======================================
  Files           6        6           
  Lines         582      582           
=======================================
  Hits          186      186           
  Misses        396      396           

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 5d0575e...16ae47a. Read the comment docs.

@srevinsaju srevinsaju merged commit 73672a9 into master Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant