Yuan Yijun (bbbush) wrote,
Yuan Yijun

zz:rawhide slowness

Matthew Miller <mattdm@mattdm.org>
致 Development

On Mon, Mar 12, 2007 at 12:19:00PM -0400, seth vidal wrote:
> Apparently it is not acceptable for things to be not-working or
> less-good in rawhide. Apparently, we have to go from one working state
> to another perfectly working state w/o passing through any situation in
> which it is not as functional.
> We told everyone up front that what is going on right now is slower and
> larger while we work on getting it right and yet that doesn't seem to
> stop the useless bitching and moaning w/o any offers of help at all.

I have a solution!

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU Library General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# by Matthew Miller <mattdm@mattdm.org>

This plugin makes Yum work properly on Rawhide.

from yum.plugins import TYPE_INTERACTIVE

requires_api_version = '2.4'
plugin_type = (TYPE_INTERACTIVE)

def init_hook(conduit):

 if f.read().find("Rawhide") > 0:
   conduit.info(1, '********************************************************')
   conduit.info(1, 'You are using Fedora Rawhide. Now I will EAT YOUR BRANE.')
   conduit.info(1, '********************************************************')

Tags: fedora, 转载

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • #thotcon badge?

    [root@m4700 ~]# esptool write_flash 0x00000 /home/yuan/tracking/thotcon0x9/tc0x9.bin esptool.py v2.3.1 Connecting.... Detecting chip type...…

  • Portfolio weighted averages

    Last week I got an assignment to make a small Java library for some often used portfolio calculations. A portfolio is a collection of holdings, each…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded