public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-02-20 13:56 Tomas Chvatal
  0 siblings, 0 replies; 32+ messages in thread
From: Tomas Chvatal @ 2011-02-20 13:56 UTC (permalink / raw
  To: gentoo-commits

commit:     be54c034a8cc6c4ed064797d346e4659aebe4b29
Author:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 13:56:28 2011 +0000
Commit:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 13:56:28 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=be54c034

Cleanup the mess in portage_module. God we really need to rewrite this tool...

---
 modules/portage_module.py |   47 ++++++++------------------------------------
 1 files changed, 9 insertions(+), 38 deletions(-)

diff --git a/modules/portage_module.py b/modules/portage_module.py
index eb2243a..2d2b7d7 100644
--- a/modules/portage_module.py
+++ b/modules/portage_module.py
@@ -69,9 +69,6 @@ def best_version_test(package1, package2):
 # having the overhead of calling it each time and getting the output.
 def find_latest_package_in_tree(package_name, portdbapi=None):
     try:
-        if portdbapi is None:
-            portdbapi = portage.db['/'][get_dbtree()].dbapi
-
         mylist = portdbapi.match(package_name)
         return portage.best(mylist)
     except KeyError:
@@ -83,42 +80,25 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
     #overlays = ["/home/allanon/cvs/gnome"]
 
     portage_versions = []
-    portdbsettings = portage.db['/'][get_dbtree()].settings
-    portdbapi = portage.db['/'][get_dbtree()].dbapi
 
-    old_dbapi = None
-    olddbapi_kw = None
+    if all_overlays is False:
+        overlays = ''
+        if overlay_list is not None:
+            overlays = overlay_list
 
     if stable is not False:
         # stable
-        mysettings = portage.config(clone=portdbsettings)
-        mysettings['ACCEPT_KEYWORDS'] = 'amd64' # the arch I care for :]
-        olddbapi_kw = portdbapi
-        portdbapi = portage.portdbapi(mysettings['PORTDIR'], mysettings=mysettings)
+        keywords = 'amd64' # the arch I care for :]
     else:
         #testing
-        mysettings = portage.config(clone=portdbsettings)
-        mysettings['ACCEPT_KEYWORDS'] = 'amd64 ~amd64' # the arch I care for :]
-        olddbapi_kw = portdbapi
-        portdbapi = portage.portdbapi(mysettings['PORTDIR'], mysettings=mysettings)
+        keywords = 'amd64 ~amd64' # the arch I care for :]
 
     if portdir is not None:
-        mysettings = portage.config(clone=portdbsettings)
-        mysettings['PORTDIR'] = portdir
-        olddbapi = portdbapi
-        portdbapi = portage.portdbapi(mysettings['PORTDIR'])
+        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'KEYWORDS': keywords, 'PORTDIR': portdir})
     else:
-        portdir = portdbsettings['PORTDIR']
+        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'KEYWORDS': keywords})
 
-    if all_overlays is False:
-        # Prune list of trees to be scanned
-        oldporttrees = portdbapi.porttrees
-        portdbapi.porttrees = [os.path.realpath(portdir)]
-
-        # Now append the overlays we want. First resolve to absolute paths.
-        if overlay_list is not None:
-            portdbapi.porttrees += \
-                    [ os.path.realpath(overlay) for overlay in overlay_list ]
+    portdbapi = portage.portdbapi(mysettings=mysettings)
 
     for package in package_list:
         best_package = find_latest_package_in_tree(package.name, portdbapi)
@@ -129,15 +109,6 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
             # Need to account for slotted packages here
             portage_versions.append(package_module.Package(best_package))
 
-    # Restore portdb trees list
-    if all_overlays is False:
-        portdbapi.porttrees = oldporttrees
-
-    if olddbapi_kw is not None:
-        portage.dbapi = olddbapi_kw
-    if old_dbapi is not None:
-        portage.dbapi = old_dbapi
-
     return portage_versions
 
 def tests():



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-02-20 21:03 Nirbheek Chauhan
  0 siblings, 0 replies; 32+ messages in thread
From: Nirbheek Chauhan @ 2011-02-20 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     b942550ba08d76eaab1e0f81c626bd501cf340e0
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 21:01:14 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 21:01:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=b942550b

Fix all_overlays = True and selection of keywords

---
 modules/portage_module.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/portage_module.py b/modules/portage_module.py
index 2d2b7d7..89fed55 100644
--- a/modules/portage_module.py
+++ b/modules/portage_module.py
@@ -80,6 +80,7 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
     #overlays = ["/home/allanon/cvs/gnome"]
 
     portage_versions = []
+    overlays = portage.settings['PORTDIR_OVERLAY']
 
     if all_overlays is False:
         overlays = ''
@@ -94,9 +95,9 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
         keywords = 'amd64 ~amd64' # the arch I care for :]
 
     if portdir is not None:
-        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'KEYWORDS': keywords, 'PORTDIR': portdir})
+        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir})
     else:
-        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'KEYWORDS': keywords})
+        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords})
 
     portdbapi = portage.portdbapi(mysettings=mysettings)
 



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-03-15 13:19 Tomas Chvatal
  0 siblings, 0 replies; 32+ messages in thread
From: Tomas Chvatal @ 2011-03-15 13:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e0fd4726fc2b1808a3bd8d5b99d5eb61091bde11
Author:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 13:18:11 2011 +0000
Commit:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 13:18:11 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=e0fd4726

Fix the stable detection to really work.

---
 modules/portage_module.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/portage_module.py b/modules/portage_module.py
index 89fed55..7aac61f 100644
--- a/modules/portage_module.py
+++ b/modules/portage_module.py
@@ -95,10 +95,12 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
         keywords = 'amd64 ~amd64' # the arch I care for :]
 
     if portdir is not None:
-        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir})
+        mysettings = portage.config(local_config=False, env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords, 'PORTDIR': portdir})
     else:
-        mysettings = portage.config(env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords})
+        mysettings = portage.config(local_config=False, env={'PORTDIR_OVERLAY': overlays, 'ACCEPT_KEYWORDS': keywords})
 
+    # hack because the above did not work :/
+    mysettings['ACCEPT_KEYWORDS'] = keywords
     portdbapi = portage.portdbapi(mysettings=mysettings)
 
     for package in package_list:



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-03-26  2:59 Nirbheek Chauhan
  0 siblings, 0 replies; 32+ messages in thread
From: Nirbheek Chauhan @ 2011-03-26  2:59 UTC (permalink / raw
  To: gentoo-commits

commit:     ee2b53a81550f50f4d3cdb5c2a9d8dccf147ca70
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 02:52:18 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 02:58:56 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=ee2b53a8

Add cantarell to the package mapping list

---
 modules/package_module.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/package_module.py b/modules/package_module.py
index 76fc1a0..5f3dd69 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -9,6 +9,7 @@ import portage_module
 
 class Package(object):
     special_cases = {
+	"cantarell-fonts":"cantarell",
         "GConf":"gconf",
         "ORBit2":"orbit",
         "libidl":"libIDL",



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-06-07 16:36 Nirbheek Chauhan
  0 siblings, 0 replies; 32+ messages in thread
From: Nirbheek Chauhan @ 2011-06-07 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     a017173ac44fb95305a13b31f83907cb4068a966
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  7 16:30:43 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 16:36:10 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=a017173a

Fix ambiguity in glib and pango package names

---
 modules/package_module.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/package_module.py b/modules/package_module.py
index 5f3dd69..8fd7336 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -28,6 +28,9 @@ class Package(object):
         'Gtk2-GladeXML' : 'dev-perl/gtk2-gladexml',
         'Gtk2'          : 'dev-perl/gtk2-perl',
         'Pango'         : 'dev-perl/Pango',
+	# Haskell mess
+	"glib":"dev-libs/glib",
+	"pango":"x11-libs/pango",
     }
 
     def __init__(self, raw_data):



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2011-09-04 19:27 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2011-09-04 19:27 UTC (permalink / raw
  To: gentoo-commits

commit:     df5905fb40ac4ddfa4507bd93db2e36c647d09e0
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 19:21:31 2011 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 19:24:03 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=df5905fb

Add mappings for vte and gstreamer, specify category for gconf mapping

Haskell overlay has dev-haskell/{gconf,vte,gstreamer}, presumably
eventually entering gentoo-x86.

Also fix indentation to be uniform (4 spaces) in the surrounding lines.

---
 modules/package_module.py |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/modules/package_module.py b/modules/package_module.py
index 8fd7336..ad744a0 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -9,16 +9,16 @@ import portage_module
 
 class Package(object):
     special_cases = {
-	"cantarell-fonts":"cantarell",
-        "GConf":"gconf",
+        "cantarell-fonts":"cantarell",
+        "GConf":"gnome-base/gconf",
         "ORBit2":"orbit",
         "libidl":"libIDL",
         "libxml++":"libxmlpp",
         "pkg-config":"pkgconfig",
         "glade3":"dev-util/glade",
         "gdl":"dev-libs/gdl",
-	"network-manager-applet": "nm-applet",
-	"gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
+        "network-manager-applet": "nm-applet",
+        "gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
         # Perl package mappings
         'Glib'          : 'dev-perl/glib-perl',
         'Gnome2-Canvas' : 'dev-perl/gnome2-canvas',
@@ -28,9 +28,11 @@ class Package(object):
         'Gtk2-GladeXML' : 'dev-perl/gtk2-gladexml',
         'Gtk2'          : 'dev-perl/gtk2-perl',
         'Pango'         : 'dev-perl/Pango',
-	# Haskell mess
-	"glib":"dev-libs/glib",
-	"pango":"x11-libs/pango",
+        # Haskell mess
+        "glib":"dev-libs/glib",
+        "pango":"x11-libs/pango",
+        "gstreamer":"media-libs/gstreamer",
+        "vte":"x11-libs/vte",
     }
 
     def __init__(self, raw_data):



^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2012-11-21 23:42 Gilles Dartiguelongue
  0 siblings, 0 replies; 32+ messages in thread
From: Gilles Dartiguelongue @ 2012-11-21 23:42 UTC (permalink / raw
  To: gentoo-commits

commit:     ba1644f7dac24918d1bca8cf8d17e9240614e35a
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 17:13:53 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Wed Nov 21 23:42:51 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bumpchecker.git;a=commit;h=ba1644f7

Add packages to module mapping

---
 modules/package_module.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/package_module.py b/modules/package_module.py
index ad744a0..ec6935a 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -15,9 +15,11 @@ class Package(object):
         "libidl":"libIDL",
         "libxml++":"libxmlpp",
         "pkg-config":"pkgconfig",
+        "glade":"dev-util/glade",
         "glade3":"dev-util/glade",
         "gdl":"dev-libs/gdl",
         "network-manager-applet": "nm-applet",
+        "NetworkManager": "networkmanager",
         "gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
         # Perl package mappings
         'Glib'          : 'dev-perl/glib-perl',


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     11a51f937cec78394c53961e9075287ac3b052de
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 20:17:45 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 20:17:45 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=11a51f93

gnome: Use download.gnome.org instead of ftp with longer paths

 modules/gnome_module.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index b81d0fe..911391a 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -33,14 +33,14 @@ class GNOME:
             gnome_release_list[1] = str(int(gnome_release_list[1]) + 1)
         self.gnome_release = ".".join(gnome_release_list[:2])
 
-        self.ftpserver = "ftp.gnome.org"
-        self.release_directories = ["pub/GNOME/admin/" + self.major_release + "/" + self.full_release + "/",
-                               "pub/GNOME/platform/" + self.major_release + "/" + self.full_release + "/",
-                               "pub/GNOME/desktop/" + self.major_release + "/" + self.full_release + "/",
-                               "pub/GNOME/bindings/" + self.major_release + "/" + self.full_release + "/"]
+        self.ftpserver = "download.gnome.org"
+        self.release_directories = ["admin/" + self.major_release + "/" + self.full_release + "/",
+                               "platform/" + self.major_release + "/" + self.full_release + "/",
+                               "desktop/" + self.major_release + "/" + self.full_release + "/",
+                               "bindings/" + self.major_release + "/" + self.full_release + "/"]
         self.latest_versions_file_path = 'http://www.gnome.org/~vuntz/tmp/versions/'
         self.latest_versions_url = self.latest_versions_file_path + 'versions-' + self.gnome_release
-        self.release_versions_file_path = 'http://ftp.gnome.org/pub/GNOME/teams/releng/'
+        self.release_versions_file_path = 'https://download.gnome.org/teams/releng/'
 
     def generate_data_from_versions_markup(self, url):
         try:


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     eb0322d1f2d670167cfce7e75e5d6093d9d56025
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 21:36:22 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 21:36:22 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=eb0322d1

gnome: Add mapping for gom to avoid in-tree ambiguity

 modules/package_module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/package_module.py b/modules/package_module.py
index ec6935a..b663c28 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -21,6 +21,7 @@ class Package(object):
         "network-manager-applet": "nm-applet",
         "NetworkManager": "networkmanager",
         "gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
+        "gom":"dev-libs/gom",
         # Perl package mappings
         'Glib'          : 'dev-perl/glib-perl',
         'Gnome2-Canvas' : 'dev-perl/gnome2-canvas',


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a92c21c23496c06f0a7056f37db8d8f097f8aa1f
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 21:02:35 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 21:03:38 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a92c21c2

gnome: Remove some old scraping related code we won't need

gnome includes a JSON file for each package with all the versions that
many other tools rely on now, so we won't need full scraping again

 modules/gnome_module.py | 103 ------------------------------------------------
 1 file changed, 103 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 911391a..062fed7 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -34,10 +34,6 @@ class GNOME:
         self.gnome_release = ".".join(gnome_release_list[:2])
 
         self.ftpserver = "download.gnome.org"
-        self.release_directories = ["admin/" + self.major_release + "/" + self.full_release + "/",
-                               "platform/" + self.major_release + "/" + self.full_release + "/",
-                               "desktop/" + self.major_release + "/" + self.full_release + "/",
-                               "bindings/" + self.major_release + "/" + self.full_release + "/"]
         self.latest_versions_file_path = 'http://www.gnome.org/~vuntz/tmp/versions/'
         self.latest_versions_url = self.latest_versions_file_path + 'versions-' + self.gnome_release
         self.release_versions_file_path = 'https://download.gnome.org/teams/releng/'
@@ -71,105 +67,6 @@ class GNOME:
     def generate_data_release(self):
         return self.generate_data_from_versions_markup(self.release_versions_file_path + self.full_release + '/versions')
 
-    """ We might want to modify this later to an extra fallback and/or for non-official modules whose tarballs are hosted on GNOME or compatible FTP
-    def generate_data_ftp(self):
-        # Deprecated: connect to ftp and get the list of all the packages in the release directories
-        walker = ftp_module.FTPWalker(self.ftpserver,"anonymous","test@test.com")
-
-        files = []
-        for directory in self.release_directories:
-            f_files = ftp_module.find_files(walker, directory,"","")
-            files.extend(f_files)
-
-        # filter out bad files
-        files = self.filter_files(files)
-
-        # create package objects for the files
-        release_packages = [] # the packages that are required for a release
-        for package_name in files:
-            release_package = package_module.Package(package_name)
-            release_packages.append(release_package)
-
-        # while connected, find out the latest version of the packages that we found in the
-        # release directories
-        latest_packages = [] # the latest versions of packages on the gnome ftp.
-        for package in release_packages:
-            file_list = ftp_module.find_files(walker, "pub/GNOME/sources" + "/" + package.raw_name + "/" + package.major_minor,"","")
-
-            # if maintainers release tarballs late, they will not get picked up
-            # therefore, if the tarball is 1 less than the y of the x.y you
-            # specify, lets also check to see if there are any files for
-            # the actual release number.
-            major = package.major_minor.split(".")[0]
-            minor = package.major_minor.split(".")[1]
-            options = clioptions_module.Options()
-            args = options.get_arguments()
-            release_minor = args.release_number.split(".")[1]
-
-            if int(minor) == (int(release_minor) -1):
-                file_list_future = ftp_module.find_files(walker, "pub/GNOME/sources" + "/" + package.raw_name + "/" + major + "." + str(int(minor)+1),"","")
-
-                # if there are results, replace the old list.
-                if len(file_list_future) > 0:
-                    file_list = file_list_future
-            elif self.nextrev == True:
-                # Try to find minor+1
-                file_list_future = ftp_module.find_files(walker, "pub/GNOME/sources" + "/" + package.raw_name + "/" + major + "." + str(int(minor)+1),"","")
-
-                # if there are results, replace the old list.
-                if len(file_list_future) > 0:
-                    file_list = file_list_future
-
-            # make sure we don't try to do this on directories with no files,
-            # or on directories that don't exist
-
-            # create package objects for the files
-            if len(file_list) > 0:
-                latest = self.filter_latest_only(file_list)
-                latest_package = package_module.Package(package.name + "-" + latest)
-                latest_packages.append(latest_package)
-
-        # disconnect from the ftp
-
-        # cache the results
-        cache = simple_cache_module.SimpleCache()
-        for release_package in release_packages:
-            latest_package = portage_module.findpackage(release_package.name, latest_packages)
-            if latest_package != None:
-                cache.write_to_queue(release_package.name_plus_version_plus_revision, latest_package.name_plus_version_plus_revision)
-            else:
-                print "No matching latest package!" + str(release_package.name)
-        cache.flush_queue()
-
-        return (release_packages, latest_packages)
-    """
-
-    def filter_files(self, files):
-        # we want to filter out all the bad files.
-        newfiles = []
-        for file in files:
-            # only keep files with .tar.bz2 ending.
-            if 0 < file.find(".tar.") and 0 < file.find(".bz2"):
-                file = file.replace(".tar.bz2", "")
-                newfiles.append(file)
-
-        return newfiles
-
-    # this needs to be fixed so that if a directory doesn't have LATEST-IS-, it returns an error
-    def filter_latest_only(self, lines):
-        latest_string = "LATEST-IS-"
-        latest = ""
-        for item in lines:
-            if 0 <= item.string.rfind(latest_string):
-                latest = item
-
-        try:
-            return_latest = latest[10:]
-        except:
-            return_latest = ""
-
-        return return_latest
-
 import portage_module
 def compare_packages(release_packages, latest_packages, packages_in_portage):
     # we care about 5 cases


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     d96c56521c0598124ac7415784ab7abd040b1373
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 21:35:50 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 21:35:50 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=d96c5652

gnome: Remove _isgnome3 special casing

We won't be creating the list for 2.9x releases anymore..

 modules/gnome_module.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 205d96e..41d5702 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -11,11 +11,6 @@ import clioptions_module
 
 DEBUG = False
 class GNOME:
-    def _isgnome3(self, gnome_release_list):
-        if int(gnome_release_list[0]) == 2 and int(gnome_release_list[1]) > 90:
-            return True
-        return False
-
     def __init__(self, nextrev=False):
         options = clioptions_module.Options()
         args = options.get_arguments()
@@ -27,9 +22,7 @@ class GNOME:
         # gnome_release is the major release number the development is leading up to or is part of. E.g, 2.21.5 will turn to 2.22 and 2.22.2 becomes 2.22
         # This is used in latest versions list fetching URL construction
         gnome_release_list = args.release_number.split(".")
-        if self._isgnome3(gnome_release_list):
-            gnome_release_list = ['3', '0']
-        elif int(gnome_release_list[1]) % 2 != 0:
+        if int(gnome_release_list[1]) % 2 != 0:
             gnome_release_list[1] = str(int(gnome_release_list[1]) + 1)
         self.gnome_release = ".".join(gnome_release_list[:2])
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     5a0aef2c23dd3bbf66cc530f3daef3f2e84cce9c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 21:34:08 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 21:35:21 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=5a0aef2c

gnome: Remove the old latest_versions_* vars that won't work

This also removes a GNOME class extra init in gnome_output for retrieving
the broken link, which won't be nice for future plans of requests usage
in terms of HTTP session

 modules/gnome_module.py | 2 --
 modules/gnome_output.py | 2 --
 2 files changed, 4 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index ba1f29f..205d96e 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -34,8 +34,6 @@ class GNOME:
         self.gnome_release = ".".join(gnome_release_list[:2])
 
         self.ftpserver = "download.gnome.org"
-        self.latest_versions_file_path = 'http://www.gnome.org/~vuntz/tmp/versions/'
-        self.latest_versions_url = self.latest_versions_file_path + 'versions-' + self.gnome_release
         self.release_versions_file_path = 'https://download.gnome.org/teams/releng/'
 
     def generate_data_from_versions_markup(self, url):

diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index 9859a6f..f1fcfdf 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -61,8 +61,6 @@ class Output:
         lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + " Progress</h2>")
         lines.append("contact " + os.environ["USER"] + "@gentoo.org if anything is not correct<br>")
         lines.append("Generated date: " + current_time + "<br>")
-        lines.append("<a href=\"" + gnome_module.GNOME().latest_versions_url \
-                + "\">Upstream versions list</a> <br>")
 
         # stats
         lines.append("<br>")


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     5c64b9cefa767fe3b149c2ea4e360739bee75137
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 22:14:05 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 22:14:59 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=5c64b9ce

gnome: Remove unused simple_cache_module import

 modules/gnome_module.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 41d5702..0edf973 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -2,14 +2,11 @@
 # LICENSE - GPL2
 # vim: set sts=4 sw=4 et tw=0 :
 
-# gnome module
-import urllib2, package_module, simple_cache_module
-import clioptions_module
-# import ftp_module
+import urllib2, package_module, clioptions_module
 
+DEBUG = False
 
 
-DEBUG = False
 class GNOME:
     def __init__(self, nextrev=False):
         options = clioptions_module.Options()


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     65504e5c8b753501d3a89451e5982fa29318f51b
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 21:14:39 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 21:15:38 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=65504e5c

gnome: temporarily report release versions as individual as the latter is broken

vuntz versions files doesn't work anymore and we'll need to migrate to
something working. Fake the data by duplicating the release versions
till then.

 modules/gnome_module.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 062fed7..ba1f29f 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -62,7 +62,7 @@ class GNOME:
         return ret
 
     def generate_data_individual(self):
-        return self.generate_data_from_versions_markup(self.latest_versions_url)
+        return self.generate_data_release()
 
     def generate_data_release(self):
         return self.generate_data_from_versions_markup(self.release_versions_file_path + self.full_release + '/versions')


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-03 23:50 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-03 23:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a196c4873b3508e1f2bf60abdefe4887f2b872fb
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 22:28:54 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 22:28:54 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a196c487

gnome: Use requests instead of urllib2

This should give us connection pooling, which can be important for
further planned changes.

 modules/gnome_module.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 0edf973..7c8f613 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -2,7 +2,8 @@
 # LICENSE - GPL2
 # vim: set sts=4 sw=4 et tw=0 :
 
-import urllib2, package_module, clioptions_module
+import requests
+import package_module, clioptions_module
 
 DEBUG = False
 
@@ -23,17 +24,17 @@ class GNOME:
             gnome_release_list[1] = str(int(gnome_release_list[1]) + 1)
         self.gnome_release = ".".join(gnome_release_list[:2])
 
-        self.ftpserver = "download.gnome.org"
-        self.release_versions_file_path = 'https://download.gnome.org/teams/releng/'
+        self.http = requests.session()
+        self.url_base = "https://download.gnome.org/"
+        self.release_versions_file_path = self.url_base + 'teams/releng/'
 
     def generate_data_from_versions_markup(self, url):
-        try:
-            f = urllib2.urlopen(url)
-        except:
+        data = self.http.get(url)
+        if not data:
             raise ValueError("Couldn't open %s" % url)
 
         ret = []
-        for line in f.readlines():
+        for line in data.iter_lines():
             components = str.strip(line).split(':')
             # Skip invalid lines
             if len(components) != 4 or len(components[2]) == 0:
@@ -46,7 +47,6 @@ class GNOME:
                 ret.append(pkg)
             else:
                 print "Warning: Ignoring package %s because parsing of its name or version string '%s' failed" % (components[1], components[2])
-        f.close()
         return ret
 
     def generate_data_individual(self):


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-11 14:09 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-11 14:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4222ef114f8366c7c1865a5e02d9c5bdd0882b52
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 14:08:36 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 14:08:36 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=4222ef11

gnome: Use UTC date for generation date note in output

 modules/gnome_output.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index f1fcfdf..f127e6a 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -46,7 +46,7 @@ class Output:
         # just time to generate some kind of "useful" output.
         # for now, lets just make a crappy html file. ( this should use css and the like )
         # name, portage_version, gnome_version, status <-- is whats in the PackageUpdate object
-        current_time = str(time.asctime(time.localtime()))
+        current_time = str(time.asctime(time.gmtime()))
 
         lines = []
 
@@ -60,7 +60,7 @@ class Output:
         lines.append("<body>")
         lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + " Progress</h2>")
         lines.append("contact " + os.environ["USER"] + "@gentoo.org if anything is not correct<br>")
-        lines.append("Generated date: " + current_time + "<br>")
+        lines.append("Generated UTC date: " + current_time + "<br>")
 
         # stats
         lines.append("<br>")


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-20 23:12 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-20 23:12 UTC (permalink / raw
  To: gentoo-commits

commit:     285a95500835248045b0736469e382a1f73fc6be
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 22:52:44 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 23:11:10 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=285a9550

gnome: make the cache.json requests parallel; reduces a run from 3m01 to 0m23 for me

This relies on the requests-futures package, which in turn relies on python-3.2+ Futures
(or a backport of it). If requests-futures import fail, it will fall back to the old slower
fetching one by one.

 modules/gnome_module.py | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index afba235..e6544b6 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -4,8 +4,16 @@
 # vim: set sts=4 sw=4 et tw=0 :
 
 import requests
+try:
+    from requests_futures.sessions import FuturesSession
+    parallel_requests = True
+except:
+    print("requests-futures not found for parallel fetching - will fallback to slower one-by-one version retrieval for latest version")
+    parallel_requests = False
+
 import package_module, clioptions_module
 
+MAX_WORKERS = 10
 DEBUG = False
 
 
@@ -34,12 +42,17 @@ class GNOME:
             gnome_release_list[1] = str(int(gnome_release_list[1]) + 1)
         self.gnome_release = ".".join(gnome_release_list[:2])
 
-        self.http = requests.session()
+        if parallel_requests:
+            self.http = FuturesSession(max_workers=MAX_WORKERS)
+        else:
+            self.http = requests.session()
         self.url_base = "https://download.gnome.org/"
         self.release_versions_file_path = self.url_base + 'teams/releng/'
 
     def generate_data_from_versions_markup(self, url):
         data = self.http.get(url)
+        if parallel_requests:
+            data = data.result()
         if not data:
             raise ValueError("Couldn't open %s" % url)
 
@@ -61,11 +74,20 @@ class GNOME:
 
     def generate_data_individual(self, release_packages):
         ret = []
+        # First query all results; if parallel_requests==True, this will run in parallel
+        for pkg in release_packages:
+            name = pkg.name.split('/')[-1]
+            if name in name_mapping:
+                name = name_mapping[name]
+            pkg.requests_result = self.http.get(self.url_base + '/sources/' + name + '/cache.json')
+
+        # And now handle the results - this is a separate loop for parallel fetch support
         for pkg in release_packages:
             name = pkg.name.split('/')[-1]
             if name in name_mapping:
                 name = name_mapping[name]
-            data = self.http.get(self.url_base + '/sources/' + name + '/cache.json')
+            # pkg.requests_result is the resulting Response if parallel_requests else Future that we need to call result() on to wait/retrieve the response
+            data = pkg.requests_result.result() if parallel_requests else pkg.requests_results
             if not data:
                 print("Warning: Unable to read cache.json for %s" % pkg.name)
                 continue


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  1:59 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  1:59 UTC (permalink / raw
  To: gentoo-commits

commit:     3e5d2a54b6774cb278b751546867498dab918879
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 01:58:34 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 01:58:34 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=3e5d2a54

gnome: Fix generation breaking typo in fallback codepath

 modules/gnome_module.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index e6544b6..aaf5b5c 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -87,7 +87,7 @@ class GNOME:
             if name in name_mapping:
                 name = name_mapping[name]
             # pkg.requests_result is the resulting Response if parallel_requests else Future that we need to call result() on to wait/retrieve the response
-            data = pkg.requests_result.result() if parallel_requests else pkg.requests_results
+            data = pkg.requests_result.result() if parallel_requests else pkg.requests_result
             if not data:
                 print("Warning: Unable to read cache.json for %s" % pkg.name)
                 continue


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  1:59 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  1:59 UTC (permalink / raw
  To: gentoo-commits

commit:     a98ad730424c974125bc8f19f2920d8ab457e29d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 01:58:57 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 01:58:57 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a98ad730

gnome: map gfbgraph to our libgfbgraph

 modules/package_module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/package_module.py b/modules/package_module.py
index e10e835..53e3018 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -10,6 +10,7 @@ import portage_module
 class Package(object):
     special_cases = {
         "cantarell-fonts":"cantarell",
+        "gfbgraph":"libgfbgraph",
         "GConf":"gnome-base/gconf",
         "ORBit2":"orbit",
         "libidl":"libIDL",


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  2:29 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  2:29 UTC (permalink / raw
  To: gentoo-commits

commit:     56b597912e36dce997598642465a2322e6b11c7d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 02:28:12 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 02:28:12 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=56b59791

gnome: Track upstream core vs apps suite handling and show it in the output

 modules/gnome_module.py   | 4 ++--
 modules/gnome_output.py   | 4 ++++
 modules/package_module.py | 6 ++++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 7f162dd..1780b92 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -66,7 +66,7 @@ class GNOME:
             # Skip mobile stuff, because we don't care. And they are mostly dupes anyway
             if components[0] == 'mobile':
                 continue
-            pkg = package_module.Package(components[1] + "-" + components[2])
+            pkg = package_module.Package(components[1] + "-" + components[2], suite=components[0])
             if (pkg.name and pkg.version):
                 ret.append(pkg)
             else:
@@ -172,6 +172,6 @@ def compare_packages(release_packages, latest_packages, packages_in_portage):
                  " | lp: " + str(latest_package.version) +
                  " | status: " + str(status))
 
-        status_packages.append(package_module.PackageStatus(release_package.name, str(portage_package.version), str(release_package.version), str(latest_package.version), status))
+        status_packages.append(package_module.PackageStatus(release_package.name, str(portage_package.version), str(release_package.version), str(latest_package.version), status, suite=release_package.suite))
 
     return status_packages

diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index 19b6da0..6f0f6be 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -74,8 +74,12 @@ class Output:
         lines.append("<th>Package Name</th><th>Portage Version</th><th>Official Version</th><th>Latest Version</th>")
         lines.append('</tr>')
 
+        current_suite = None
         # data
         for package in self.packages:
+            if package.suite != current_suite:
+                current_suite = package.suite
+                lines.append('<tr><td colspan="4" align="center"><b>%s</b></td></tr>' % current_suite.capitalize())
             if package.status == package_module.Status.NeedUpdate:
                 lines.append('<tr bgcolor="#FF8A75">') # "red"
             elif package.status == package_module.Status.Compliant:

diff --git a/modules/package_module.py b/modules/package_module.py
index 53e3018..30f79a2 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -39,8 +39,9 @@ class Package(object):
         "vte":"x11-libs/vte",
     }
 
-    def __init__(self, raw_data):
+    def __init__(self, raw_data, suite=None):
         self.raw_string = raw_data
+        self.suite = suite
 
         self.name = None
         self.version = None
@@ -91,7 +92,7 @@ class Package(object):
         return self.name_plus_version
 
 class PackageStatus:
-    def __init__(self, name, portage_version, gnome_version, latest_version, status, stable_version = False):
+    def __init__(self, name, portage_version, gnome_version, latest_version, status, stable_version = False, suite=None):
         self.name = name
         if stable_version is not False:
             self.stable_version = stable_version
@@ -99,6 +100,7 @@ class PackageStatus:
         self.gnome_version = gnome_version
         self.latest_version = latest_version
         self.status = status
+        self.suite = suite
 
 class Status(object):
     def Compliant(self):


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  2:29 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  2:29 UTC (permalink / raw
  To: gentoo-commits

commit:     0ca25ccc1130b4a6c35f50f990cd2faa5a7f8fdc
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 02:29:07 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 02:29:07 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=0ca25ccc

gnome: Stop skipping mobile suite, as it doesn't exist anymore anyway

 modules/gnome_module.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 1780b92..38639ee 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -63,9 +63,6 @@ class GNOME:
             # Skip invalid lines
             if len(components) != 4 or len(components[2]) == 0:
                 continue
-            # Skip mobile stuff, because we don't care. And they are mostly dupes anyway
-            if components[0] == 'mobile':
-                continue
             pkg = package_module.Package(components[1] + "-" + components[2], suite=components[0])
             if (pkg.name and pkg.version):
                 ret.append(pkg)


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  2:29 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  2:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a5436eb581d92aebd3eb3535ed328a30bc4ac2a0
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 02:26:55 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 02:26:55 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a5436eb5

gnome: add libgfbgraph reverse mapping as well

 modules/gnome_module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index aaf5b5c..7f162dd 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -22,6 +22,7 @@ DEBUG = False
 # TODO: So this reverses it back again for the modules we care for this until a proper fix
 name_mapping = {
     "cantarell": "cantarell-fonts",
+    "libgfbgraph": "gfbgraph",
     "nm-applet": "network-manager-applet",
     "networkmanager": "NetworkManager",
 }


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-03-21  2:57 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-03-21  2:57 UTC (permalink / raw
  To: gentoo-commits

commit:     e3e72ec761ab556f62b272a226b48726dab5cfde
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 02:54:25 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 02:54:25 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=e3e72ec7

gnome: Hack latest version to see newstable release when official version is still at release candidate

When running against e.g 3.23.92 release before a 3.24.0 versions file from gnome releng
exists to run against, we want to still see the 3.24.0 releases, should any exist. So hack
the logic to look into latest newstable version, if any exist, and the version is not a 0.x
(for which the gnome numbering might not follow odd-even nomenclature).
Without this all the 3.24.0 releases that are coming out on "tarballs due" date and the
preceeding weekend aren't seen by bumpchecker, as we don't have a 3.24.0 to -r <ver> against.

 modules/gnome_module.py   | 5 ++++-
 modules/package_module.py | 8 ++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 38639ee..a9fd306 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -96,9 +96,12 @@ class GNOME:
             if pkg.major_minor not in data[3]:
                 print("Warning: can't find latest version for %s-%s" % (name, pkg.major-minor))
                 continue
+            major_minor = pkg.major_minor
+            if pkg.major != "0" and pkg.minor.isdigit() and int(pkg.minor) % 2 and "%s.%d" % (pkg.major, int(pkg.minor)+1) in data[3]:
+                major_minor = "%s.%d" % (pkg.major, int(pkg.minor)+1)
             latest = False
             # Some modules contain more than LATEST-IS-* for some reason, so we need to iterate and find the correct item instead of [0] (even though it is firsy always, but lets be future-proof)
-            for tarball in data[3][pkg.major_minor]:
+            for tarball in data[3][major_minor]:
                 if tarball.startswith('LATEST-IS-'):
                     latest = tarball[10:] # len('LATEST-IS-') == 10
                     break

diff --git a/modules/package_module.py b/modules/package_module.py
index 30f79a2..e967973 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -82,6 +82,14 @@ class Package(object):
     def parse_mm(self, version):
         return '.'.join(version.split('.')[0:2])
 
+    @property
+    def major(self):
+        return self.major_minor.split('.')[0]
+
+    @property
+    def minor(self):
+        return self.major_minor.split('.')[1]
+
     def print_info(self):
         print("Name: " + str(self.name))
         print("Version: " + str(self.package_version))


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2017-10-31 23:12 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2017-10-31 23:12 UTC (permalink / raw
  To: gentoo-commits

commit:     94555e919be9640aea08ad096c25cddf3f67a6d0
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 31 23:09:58 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 23:11:32 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=94555e91

gnome: Put "Stable" in the titles when it's a stable tree report

 modules/gnome_output.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index 6f0f6be..d406d16 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -54,11 +54,11 @@ class Output:
         lines.append('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">')
         lines.append("<html>")
         lines.append('<head>')
-        lines.append('<title>Gnome ' + clioptions_module.Options().get_arguments().release_number + ' Progress</title>')
+        lines.append('<title>Gnome ' + clioptions_module.Options().get_arguments().release_number + (' Stable' if clioptions_module.Options().options.stable else '') + ' Progress</title>')
         lines.append('<link rel="stylesheet" type="text/css" href="default.css"></link>')
         lines.append('</head>')
         lines.append("<body>")
-        lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + " Progress</h2>")
+        lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + (' Stable' if clioptions_module.Options().options.stable else '') + " Progress</h2>")
         lines.append("contact " + os.environ["USER"] + "@gentoo.org if anything is not correct<br>")
         lines.append("Generated UTC date: " + current_time + "<br>")
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2019-01-16  0:27 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2019-01-16  0:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e555b952ad38ba5dfb50e8453691d892b4d12454
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 16 00:20:38 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Jan 16 00:26:53 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=e555b952

Add workaround for packages with only one version component

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 modules/package_module.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/package_module.py b/modules/package_module.py
index e967973..a7b5126 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -88,7 +88,7 @@ class Package(object):
 
     @property
     def minor(self):
-        return self.major_minor.split('.')[1]
+        return self.major_minor.split('.')[1] if self.major_minor.find('.') != -1 else 'NONE' # TODO: workaround for gudev, refactor
 
     def print_info(self):
         print("Name: " + str(self.name))


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2019-03-26 13:33 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2019-03-26 13:33 UTC (permalink / raw
  To: gentoo-commits

commit:     22171dc148f87e3d21219783db41521c0ac15323
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 13:32:35 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 13:33:01 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=22171dc1

gnome: Fix syntax error in a rare warning path message

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 modules/gnome_module.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index a9fd306..22ab10a 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -94,7 +94,7 @@ class GNOME:
                 print("Warning: unknown cache.json version for package %s" % name)
                 continue
             if pkg.major_minor not in data[3]:
-                print("Warning: can't find latest version for %s-%s" % (name, pkg.major-minor))
+                print("Warning: can't find latest version for %s-%s" % (name, pkg.major_minor))
                 continue
             major_minor = pkg.major_minor
             if pkg.major != "0" and pkg.minor.isdigit() and int(pkg.minor) % 2 and "%s.%d" % (pkg.major, int(pkg.minor)+1) in data[3]:


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2019-08-24 16:38 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2019-08-24 16:38 UTC (permalink / raw
  To: gentoo-commits

commit:     652b08999ccc382dcbcfb647eb0ce92060488ae0
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 24 16:37:38 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 16:37:38 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=652b0899

gnome: Map gnome-themes-extra to gnome-themes-standard for now

We haven't done a pkgmove yet, so map them up for the time being.

 modules/gnome_module.py   | 1 +
 modules/package_module.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 22ab10a..7ef3b12 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -25,6 +25,7 @@ name_mapping = {
     "libgfbgraph": "gfbgraph",
     "nm-applet": "network-manager-applet",
     "networkmanager": "NetworkManager",
+    "gnome-themes-standard": "gnome-themes-extra",
 }
 
 class GNOME:

diff --git a/modules/package_module.py b/modules/package_module.py
index a7b5126..5551f60 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -23,6 +23,7 @@ class Package(object):
         "NetworkManager": "networkmanager",
         "gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
         "gom":"dev-libs/gom",
+        "gnome-themes-extra":"gnome-themes-standard",
         # Perl package mappings
         'Glib'          : 'dev-perl/glib-perl',
         'Gnome2-Canvas' : 'dev-perl/gnome2-canvas',


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2021-04-14 22:57 Matt Turner
  0 siblings, 0 replies; 32+ messages in thread
From: Matt Turner @ 2021-04-14 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     a9708d1acbd0fa5c3c54b2db65e163053ed18245
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 14 21:25:20 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Apr 14 22:57:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a9708d1a

Add mapping for gui-libs/gtk

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 modules/package_module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/package_module.py b/modules/package_module.py
index 5551f60..ad78eec 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -35,6 +35,7 @@ class Package(object):
         'Pango'         : 'dev-perl/Pango',
         # Haskell mess
         "glib":"dev-libs/glib",
+        "gtk":"gui-libs/gtk",
         "pango":"x11-libs/pango",
         "gstreamer":"media-libs/gstreamer",
         "vte":"x11-libs/vte",


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2021-04-14 22:57 Matt Turner
  0 siblings, 0 replies; 32+ messages in thread
From: Matt Turner @ 2021-04-14 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     3f300c8204a90fdbe3f9cee98b16d880dc5442e7
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 14 22:52:27 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Apr 14 22:57:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=3f300c82

Add support for GNOME 40

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 modules/gnome_module.py | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 7ef3b12..7a2f5ed 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -28,6 +28,13 @@ name_mapping = {
     "gnome-themes-standard": "gnome-themes-extra",
 }
 
+# Turns GNOME versions (40.beta) into the PMS version format (40_beta)
+def normalize_version(version: str) -> str:
+    if version.endswith(('.rc', '.beta', '.alpha')):
+        i = version.rindex('.')
+        return f"{version[:i]}_{version[i + 1:]}"
+    return version
+
 class GNOME:
     def __init__(self, nextrev=False):
         options = clioptions_module.Options()
@@ -40,7 +47,7 @@ class GNOME:
         # gnome_release is the major release number the development is leading up to or is part of. E.g, 2.21.5 will turn to 2.22 and 2.22.2 becomes 2.22
         # This is used in latest versions list fetching URL construction
         gnome_release_list = args.release_number.split(".")
-        if int(gnome_release_list[1]) % 2 != 0:
+        if int(gnome_release_list[0]) < 40 and int(gnome_release_list[1]) % 2 != 0:
             gnome_release_list[1] = str(int(gnome_release_list[1]) + 1)
         self.gnome_release = ".".join(gnome_release_list[:2])
 
@@ -64,7 +71,7 @@ class GNOME:
             # Skip invalid lines
             if len(components) != 4 or len(components[2]) == 0:
                 continue
-            pkg = package_module.Package(components[1] + "-" + components[2], suite=components[0])
+            pkg = package_module.Package(components[1] + "-" + normalize_version(components[2]), suite=components[0])
             if (pkg.name and pkg.version):
                 ret.append(pkg)
             else:
@@ -109,7 +116,7 @@ class GNOME:
             if not latest:
                 print("Warning: couldn't find latest version from within cache.json[3]")
                 continue
-            latest_pkg = package_module.Package(name + "-" + latest)
+            latest_pkg = package_module.Package(name + "-" + normalize_version(latest))
             if pkg.name and pkg.version:
                 ret.append(latest_pkg)
             else:


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2021-12-11 22:11 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2021-12-11 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     99858410eb2f1de5ac5926a52acb8ff94578b861
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 22:11:11 2021 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 22:11:11 2021 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=99858410

Add support for GNOME 40 in "Latest Version" column

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 modules/gnome_module.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index 7280a16..a66d305 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -101,11 +101,15 @@ class GNOME:
             if data[0] != 4:
                 print("Warning: unknown cache.json version for package %s" % name)
                 continue
-            if pkg.major_minor not in data[3]:
-                print("Warning: can't find latest version for %s-%s" % (name, pkg.major_minor))
-                continue
             major_minor = pkg.major_minor
-            if pkg.major != "0" and pkg.minor.isdigit() and int(pkg.minor) % 2 and "%s.%d" % (pkg.major, int(pkg.minor)+1) in data[3]:
+            new_versioning = False
+            if major_minor not in data[3]:
+                major_minor = pkg.major
+                new_versioning = True
+                if major_minor not in data[3]:
+                    print("Warning: can't find latest version for %s-%s" % (name, pkg.major_minor))
+                    continue
+            if not new_versioning and pkg.major != "0" and pkg.minor.isdigit() and int(pkg.minor) % 2 and "%s.%d" % (pkg.major, int(pkg.minor)+1) in data[3]:
                 major_minor = "%s.%d" % (pkg.major, int(pkg.minor)+1)
             latest = False
             # Some modules contain more than LATEST-IS-* for some reason, so we need to iterate and find the correct item instead of [0] (even though it is firsy always, but lets be future-proof)


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2022-03-27  4:48 Matt Turner
  0 siblings, 0 replies; 32+ messages in thread
From: Matt Turner @ 2022-03-27  4:48 UTC (permalink / raw
  To: gentoo-commits

commit:     a741869b2a6e19cd3daac3c903a6fc31c8e1342c
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 04:48:35 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 04:48:35 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=a741869b

Map gtksourceview to gui-libs/gtksourceview

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 modules/package_module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/package_module.py b/modules/package_module.py
index ad78eec..f593c10 100644
--- a/modules/package_module.py
+++ b/modules/package_module.py
@@ -24,6 +24,7 @@ class Package(object):
         "gtk-theme-engine-clearlooks": "gtk-engines-clearlooks",
         "gom":"dev-libs/gom",
         "gnome-themes-extra":"gnome-themes-standard",
+        "gtksourceview":"gui-libs/gtksourceview",
         # Perl package mappings
         'Glib'          : 'dev-perl/glib-perl',
         'Gnome2-Canvas' : 'dev-perl/gnome2-canvas',


^ permalink raw reply related	[flat|nested] 32+ messages in thread

* [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/
@ 2022-07-16 20:16 Mart Raudsepp
  0 siblings, 0 replies; 32+ messages in thread
From: Mart Raudsepp @ 2022-07-16 20:16 UTC (permalink / raw
  To: gentoo-commits

commit:     743be09bb789efe8423411e3e369ebaf10f8739e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 20:15:31 2022 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 20:16:00 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=743be09b

gnome: Rename "Portage Version" header to "Gentoo Version"

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 modules/gnome_output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index d406d16..407d213 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -71,7 +71,7 @@ class Output:
 
         lines.append('<table cellpadding="3">')
         lines.append('<tr>')
-        lines.append("<th>Package Name</th><th>Portage Version</th><th>Official Version</th><th>Latest Version</th>")
+        lines.append("<th>Package Name</th><th>Gentoo Version</th><th>Official Version</th><th>Latest Version</th>")
         lines.append('</tr>')
 
         current_suite = None


^ permalink raw reply related	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2022-07-16 20:16 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 23:50 [gentoo-commits] proj/gentoo-bumpchecker:master commit in: modules/ Mart Raudsepp
  -- strict thread matches above, loose matches on Subject: below --
2022-07-16 20:16 Mart Raudsepp
2022-03-27  4:48 Matt Turner
2021-12-11 22:11 Mart Raudsepp
2021-04-14 22:57 Matt Turner
2021-04-14 22:57 Matt Turner
2019-08-24 16:38 Mart Raudsepp
2019-03-26 13:33 Mart Raudsepp
2019-01-16  0:27 Mart Raudsepp
2017-10-31 23:12 Mart Raudsepp
2017-03-21  2:57 Mart Raudsepp
2017-03-21  2:29 Mart Raudsepp
2017-03-21  2:29 Mart Raudsepp
2017-03-21  2:29 Mart Raudsepp
2017-03-21  1:59 Mart Raudsepp
2017-03-21  1:59 Mart Raudsepp
2017-03-20 23:12 Mart Raudsepp
2017-03-11 14:09 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2017-03-03 23:50 Mart Raudsepp
2012-11-21 23:42 Gilles Dartiguelongue
2011-09-04 19:27 Mart Raudsepp
2011-06-07 16:36 Nirbheek Chauhan
2011-03-26  2:59 Nirbheek Chauhan
2011-03-15 13:19 Tomas Chvatal
2011-02-20 21:03 Nirbheek Chauhan
2011-02-20 13:56 Tomas Chvatal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox