~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to softwarecenter/distro/fedora.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-12-06 17:30:50 UTC
  • Revision ID: package-import@ubuntu.com-20121206173050-n7mxi5fzlsvtdh9l
Tags: 5.5.2
* lp:~mvo/software-center/fix-pygobject-deprecation-warnings:
  - fix deprecation warninings with the latest python-gi
* lp:~mvo/software-center/minor-logging-fixes:
  - drop some LOG.info() messages to LOG.debug() to spam the user
    less
* lp:~mvo/software-center/trivial-close-ui-tweak:
  - hide the main window immediately when closing down
* lp:~mvo/software-center/5.4-fix-save-person-to-config:
  - This branch ensures that the "username" is saved everytime
    that the ubuntu sso whoami call is done
* lp:~mvo/software-center/use-dpkg-builddeps:
  - use dpkg-checkbuilddeps to find test-dependencies
* lp:~mvo/software-center/update-sc-cmdline-flexibility:
  - update-software-center-agent: 
    + add --target-db-path commandline
  - update-software-center: 
    + add --app-install-desktop-dir and --target-db-path commandline
* lp:~mvo/software-center/raring-pep8:
  - fixes for new pep8

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    # screenshot handling
40
40
    # FIXME - fedora should get its own proxy eventually
41
41
    SCREENSHOT_THUMB_URL = ("http://screenshots.ubuntu.com/"
42
 
        "thumbnail-with-version/%(pkgname)s/%(version)s")
 
42
                            "thumbnail-with-version/%(pkgname)s/%(version)s")
43
43
    SCREENSHOT_LARGE_URL = ("http://screenshots.ubuntu.com/"
44
 
        "screenshot-with-version/%(pkgname)s/%(version)s")
 
44
                            "screenshot-with-version/%(pkgname)s/%(version)s")
45
45
    SCREENSHOT_JSON_URL = "http://screenshots.ubuntu.com/json/package/%s"
46
46
 
47
47
    # reviews
49
49
    #        some point I imagine :) (or a alternative backend)
50
50
    #
51
51
    REVIEWS_SERVER = (os.environ.get("SOFTWARE_CENTER_REVIEWS_HOST") or
52
 
        "http://reviews.ubuntu.com/reviews/api/1.0")
 
52
                      "http://reviews.ubuntu.com/reviews/api/1.0")
53
53
    REVIEWS_URL = (REVIEWS_SERVER + "/reviews/filter/%(language)s/%(origin)s/"
54
 
        "%(distroseries)s/%(version)s/%(pkgname)s%(appname)s/")
 
54
                   "%(distroseries)s/%(version)s/%(pkgname)s%(appname)s/")
55
55
 
56
56
    REVIEW_STATS_URL = REVIEWS_SERVER + "/review-stats"
57
57
 
92
92
        return origin == 'fedora' or origin == 'updates'
93
93
 
94
94
    def get_maintenance_status(self, cache, appname, pkgname, component,
95
 
        channelname):
 
95
                               channelname):
96
96
        # FIXME
97
97
        pass
98
98