[SM-Discuss] Proposal: gaze newer last_update

Andrew afrayedknot at thefrayedknot.armory.com
Thu Jan 20 16:59:49 EST 2005


On Thu, Jan 20, 2005 at 11:29:32AM -0800, Seth Alan Woolley wrote:
> If you're going to do work on this, I think that we should make a 
> distinction between last compile and last update.
> 
> With afrayedknot's new tablet support we can know the difference now and 
> head -n 1 the tablet history entry to get a real newer date. 
Well, theres no history per-se in the tablet, however things are stored
based on the time their installation completed. So you could easily
compare that timestamp with whenever the last system-update occurred.

> I propose 
> we change gaze newer to check that (and if not there yet, using the 
> compile data in the packages file that we currently use) against UPDATED 
> as well as version updates.  It would catch patchlevel revision updates 
> that occurred between update and compile, which for people on stable 
> grimoire may be a couple weeks.
> 
> It would be a small change, but it would make our update detection more 
> robust.
> 
> Seth
> 
> On Thu, Jan 20, 2005 at 07:57:04PM +0100, neuron wrote:
> > I would like to propose new gaze feature, mostly taken from
> > http://bugs.sourcemage.org/show_bug.cgi?id=7941 .
> > 
> > What:
> > new (extended) command "gaze newer last_update"
> > 
> > Description:
> > The extended command would print new spells which apeared between last
> > two _sorcery_ updates. It's mostly usefull for those updating their
> > system by 'sorcery system-update' which updates sorcery and grimoires at
> > the same time. After running 'sorcery system update', the command 'gaze
> > newer last_update' would tell you what spells changed since your last
> > update. If you haven't updated sorcery yet, or updated only once, it
> > would print error message and exit with return code 1
> > 
> > Supposed modifications:
> > /usr/sbin/gaze       - add the functionality
> > /usr/man/man1/gaze.1 - documentation
> > 
> > What do you think ? If there are no complains, I would be happy to
> > implement it into devel and test sorcery.
> > 
> > --
> > 	Neuron
> 
> 
> 
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss at lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> 
> 
> -- 
> Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
> Key id EF10E21A = 36AD 8A92 8499 8439 E6A8  3724 D437 AF5D EF10 E21A
> http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
> Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


-- 
__________________________________________________________________________
|Andrew D. Stitt                           | astitt at sourcemage.org    |
|irc: afrayedknot                          | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus    | acedit at armory.com        |
|Sorcery Team Lead                         | ftp://t.armory.com/         |
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050120/0a7988f9/attachment.bin 


More information about the SM-Discuss mailing list