Skip to content

Commit

Permalink
track dynamic current_highest_major-N instead of track static major v…
Browse files Browse the repository at this point in the history
…ersion N and higher
  • Loading branch information
bkw777 committed Jan 4, 2020
1 parent 1f3b513 commit 5cc15d6
Show file tree
Hide file tree
Showing 22 changed files with 850 additions and 723 deletions.
4 changes: 2 additions & 2 deletions .deb_build_number.mak
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is generated by Makefile
DEB_PKG_VERSION := 1.0.2
DEB_BUILD_NUMBER := 0004
DEB_PKG_VERSION := 1.0.3
DEB_BUILD_NUMBER := 0001
2 changes: 1 addition & 1 deletion BRANDING.mak
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

VERSION_MAJOR = 1
VERSION_MINOR = 0
VERSION_MICRO = 2
VERSION_MICRO = 3
BRANDING_SHORTNAME = mainline
BRANDING_LONGNAME = Ubuntu Mainline Kernel Installer
BRANDING_AUTHORNAME = Brian K. White
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Makefile for "mainline"

DEFAULT_KERNEL_VERSION_THRESHOLD = 5
# number of major kernel version numbers to show, older than current highest major available.
DEFAULT_SHOW_PREV_MAJORS = 0

SHELL := /bin/bash
CFLAGS := --std=c99
Expand Down Expand Up @@ -32,7 +33,7 @@ branding_symbols := -X -D'BRANDING_SHORTNAME="$(BRANDING_SHORTNAME)"' \
-X -D'BRANDING_AUTHOREMAIL="$(BRANDING_AUTHOREMAIL)"' \
-X -D'BRANDING_WEBSITE="$(BRANDING_WEBSITE)"' \
-X -D'GETTEXT_PACKAGE="$(BRANDING_SHORTNAME)"' \
-X -D'DEFAULT_KERNEL_VERSION_THRESHOLD="$(DEFAULT_KERNEL_VERSION_THRESHOLD)"'
-X -D'DEFAULT_SHOW_PREV_MAJORS="$(DEFAULT_SHOW_PREV_MAJORS)"'

misc_files := README.md \
INSTALL \
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ Do we really need aptitude?
libsoup or other library instead of shell commands for downloads?
* Customizable appearance, at least colors
* Option to specify kernel variant (generic, lowlatency, snapdragon, etc...)
* Configurable lowest version threshhold instead of the current hard-coded 4.0
...or, automatically subtract 1 from whatever the current highest release version is
(first part done: as of v1.0.2 setting is a number instead of a true/false)
* Improve the annoying pkexec behavior.
It would be nicer to run pkexec (or lxqt-sudo, etc) one time for the whole session, and only have to enter a password once, instead of once per action.
But currently, if you actually do that, it creates files in the users home directory that are owned by root, so don't do that.
Expand Down
3 changes: 0 additions & 3 deletions README.md.src
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ Do we really need aptitude?
libsoup or other library instead of shell commands for downloads?
* Customizable appearance, at least colors
* Option to specify kernel variant (generic, lowlatency, snapdragon, etc...)
* Configurable lowest version threshhold instead of the current hard-coded 4.0
...or, automatically subtract 1 from whatever the current highest release version is
(first part done: as of v1.0.2 setting is a number instead of a true/false)
* Improve the annoying pkexec behavior.
It would be nicer to run pkexec (or lxqt-sudo, etc) one time for the whole session, and only have to enter a password once, instead of once per action.
But currently, if you actually do that, it creates files in the users home directory that are owned by root, so don't do that.
Expand Down
23 changes: 18 additions & 5 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
mainline (1.0.2) UNRELEASED; urgency=medium
mainline (1.0.3) UNRELEASED; urgency=medium
* Change setting kernel_version_threshold to show_prev_majors
Instead of saying hide kernels older than major version N, where the user has to periodically increase N manually,
Now the setting says, hide kernels older than major version (CURRENT_HIGHEST minus N), where CURRENT_HIGHEST is determined on the fly every time, and N can stay the same 0 or 1 etc forever.
All of the current highest major version is always shown. The setting says how many previous major versions to add to that.

* Disabled buggy progress bar
* Add missing translators on credits window
-- Brian K. White <[email protected]> Sat, 04 Jan 2020 01:13:54 -0500

mainline (1.0.2) UNRELEASED; urgency=medium
* Makefile:
- Use one variable style everywhere
- Only regenerate .pot file if any source files changed
Expand All @@ -19,9 +24,17 @@ mainline (1.0.2) UNRELEASED; urgency=medium
The Makefile is now officially more feature rich and robust than the application itself ¯\_(ツ)_/¯
* Desktop icon fix for Wayland from Hugo Posnic <[email protected]>
* Ukranian translation - github:cappelikan
* Change bool hide_older to int kernel_version_threshold
* Change setting: bool hide_older to int kernel_version_threshold
hide_older was a toggel on/off to hide kernel major versions older than a hardcoded value of 4
kernel_version_threshold is an integer, hide kernel major versions older than this value

-- Brian K. White <[email protected]> Fri, 03 Jan 2020 18:01:59 -0500

mainline (1.0.1) UNRELEASED; urgency=medium
* Disabled buggy progress bar
* Add missing translators on credits window

-- Brian K. White <b.kenyon.w@gmail.com> Fri, 03 Jan 2020 20:19:03 -0500
-- Brian K. White <bw.aljex@gmail.com> Mon, 18 Mar 2019 09:10:23 -0400

mainline (1.0.0) disco; urgency=medium

Expand Down
Loading

0 comments on commit 5cc15d6

Please sign in to comment.