Project

General

Profile

Revision:

Revisions

# Date Author Comment
91 11/01/2014 01:23 AM Deoren Moor

Added reference link for sorting an array in Bash.

90 10/28/2014 03:18 PM Deoren Moor

[issues #129]
Tagging v0.2.5 from r89.

89 10/22/2014 04:44 PM Deoren Moor [issues #129]
  • Fixed typo
  • Fixed logic used to get the path to the script (for include file reference) if script is called via a symbolic link

Light testing so far shows this to work well.

88 10/22/2014 12:56 PM Deoren Moor

[issues #129]
Opted to allow an array of locations for the override file to be included. I ran into at least one situation where having it in the same directory as the script would have been handy.

87 10/13/2014 02:34 PM Deoren Moor

[issues #129]
Added note to self to apply proper permissions check.

86 10/13/2014 02:09 PM Deoren Moor

[issues #129]
Beginning of working to allow customs settings to override predefined settings.

Custom_Settings

85 10/13/2014 12:35 PM Deoren Moor

Tagging v0.2.

84 01/15/2014 12:36 PM Deoren Moor

[issues #118]
Expanding PATH variable to include core locations. This should resolve the (bad) idea to rely on the PATH variable to be set via crontab file(s).

83 10/17/2013 10:06 AM Deoren Moor

[issues #120]
sigh

82 10/17/2013 10:03 AM Deoren Moor

[issues #120]
Fixed syntax error.

81 10/17/2013 10:01 AM Deoren Moor

[issues #120]
Oops; I missed one.

80 10/17/2013 09:57 AM Deoren Moor

[issues #120]
Tossing stdout from yum check-update like we have already been doing, but now grepping stderr to toss a verbose status message that we don't care to receive every time email_updates.sh runs.

79 08/01/2013 03:26 PM Deoren Moor

[issues #117]
Matching against 'Conf' instead of 'Inst' to make it easier to parse out the "sanitized" name of the new package update to be installed (calculate_updates_via_apt() function).

78 07/26/2013 08:23 AM Deoren Moor

[issues #114]
Fixed invalid syntax for grep's use of the Regular Expression POSIX character class.

77 07/18/2013 11:31 PM Deoren Moor

[issues #112]
Incorporated changes tested within massage_output.sh:

  • massage_string()
    • Better documentation
    • Beefed up transformation of strings to make them more readable (tested on Ubuntu 10 and CentOS 5.x)
  • Removed old 'UP2DATE_MATCH_ON' and 'YUM_MATCH_ON' regexes now that massage_string() has been enhanced
76 07/18/2013 11:15 PM Deoren Moor

[issues #112]
I have a working sanitize_string() function that handles input from calculate_updates_via_apt() and calculate_updates_via_yum() without requiring a lot of preprocessing.

75 07/18/2013 10:14 PM Deoren Moor

[issues #112]
Testing different approaches to abstract the bulk of the logic out into the sanitize_string() function.

74 07/18/2013 09:37 PM Deoren Moor

Testing Ubuntu dist-upgrade output manipulation.

73 07/18/2013 06:12 PM Deoren Moor

[issues #112]
Rough draft of what I have in mind.

72 07/18/2013 06:01 PM Deoren Moor [issues #111]
  • Tweaked stderr output function to allow extended echo syntax
  • Taking the first portion of a new update and using that to search the database for matches instead of returning EVERY entry in the db. Those matches are then compared against a current update. This appears to speed up comparison considerably.
71 07/18/2013 04:40 PM Deoren Moor

[issues #108]
Fixes #108 by looping over the raw output of yum check-update -C and stopping once the "Obsoleting Packages" line is encountered. Other changes include a function to output debug text to stderr for us within functions that rely on their returned data being saved to variables.

70 07/18/2013 04:27 PM Deoren Moor

[issues #110]
Adding check for SKIP_UPSTREAM_SYNC and if set to 0 we call 'yum check-update', otherwise we do nothing and rely on the cached update list.

69 07/18/2013 02:05 PM Deoren Moor

[issues #105]
Adding back the space in the sed replace pattern that I unintentionally removed.

68 07/18/2013 01:35 PM Deoren Moor [issues #105]
  • Abstracted string stripping/sanitization attempts to a function that I can call as needed
  • Cleaning update lines/strings at the point they're calculated so later functions don't have to do so also
    • We're still assuming that older databases will have weird spacing that we'll have to account for and are sanitizing those
67 06/05/2013 09:44 AM Deoren Moor

[issues #106]
Adding short description of included host information.

(1-25/91) Per page: 25, 50, 100

Also available in: Atom