Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Jon Robbins Jon Robbins

    I wrote a script to update my HeyBuddy trunk pkgbuild, rebuild it, and upload it to the AUR. I just have to enter the rev no. -Yeah I'm lazy

    Friday, 06-Aug-10 11:34:38 UTC from heybuddy
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba You still have to enter the rev no.? ;p #even-lazier

      Friday, 06-Aug-10 12:36:59 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba Trick to it is, get the repo to tell you the rev no., with export HBREV=$(bzr log -r -1 lp:heybuddy | grep revno | sed "s/revno: //")

      Friday, 06-Aug-10 12:47:54 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba That'll give you the rev no. (in $HBREV, of course) without downloading anything other than the bzr log, so no bandwidth wasted. :)

      Friday, 06-Aug-10 12:49:08 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid haha that is awesome, I'll have to incorporate that! I thought about it but it was getting late. gotta work hard to be this #lazy ;)

      Friday, 06-Aug-10 13:17:25 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba Haha, yep. I'm pretty sure I've put more time into avoiding doing things than I'd actually have spent just doing them :D

      Friday, 06-Aug-10 13:25:41 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid That is exactly what I was thinking last night :) like the saying goes "laziness spawns innovation" ...or did I make that up?

      Friday, 06-Aug-10 13:27:56 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid NOW, if I can just configure this to run every time I get an email saying jezra did a commit... or maybe a cronjob checking revs hmm

      Friday, 06-Aug-10 13:29:09 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba "Genius is 1% inspiration, 99% procrastination." ;p

      Friday, 06-Aug-10 13:31:13 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba If you can get the emails into a form that can be piped into a script (maybe something with mutt?), I can't imagine it'd be too hard.

      Friday, 06-Aug-10 13:34:26 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid I think it'd be better/easier to run a cron in the am (or more often?) and compare revs, update if new. That'd be pretty simple

      Friday, 06-Aug-10 14:00:35 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba Mm, seems the best (and easiest) way. Starting work on such a script now. :)

      Friday, 06-Aug-10 14:06:02 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid I added your revCheck into my script, and then added compare, if no change then exits. So I should be able to add this to my crontab

      Friday, 06-Aug-10 15:12:38 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba Yep, same here. Set to run at X:42, where X is every hour, and only make new pkgs if there's an update :)

      Friday, 06-Aug-10 15:14:31 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid I first tried this in Python, but i still know less python than bash (and I dont know much bash) lol

      Friday, 06-Aug-10 15:15:17 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid awesome. hey you could use curl to update your status when that runs and updates your packages haha! #lazyPackagers :-p

      Friday, 06-Aug-10 15:17:09 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba How do you think I've been sending out the "new package" dents so far? curl == POWER ;p

      Friday, 06-Aug-10 15:20:01 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid you're the man!

      Friday, 06-Aug-10 15:31:25 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev) Facepalm

      @jamba Don't be so sure; I only just now remembered to have the script make sure the pkgs actually built before denting "new pkg!" !facepalm

      Friday, 06-Aug-10 15:34:15 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid bzr doesn't really seem to like this: http://sixgun.org/pastebin/19 Changed to bzr log -l 1 lp:heybuddy | ...

      Friday, 06-Aug-10 17:15:06 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba That'd be because it's meant to be "-r -1" (minus one, indicating most recent), not "-r -l". But your cmd works too, so no problem :)

      Friday, 06-Aug-10 17:19:15 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba The only situation in which your command would have a problem is if bzr was configured to display oldest->newest, rather than (...)

      Friday, 06-Aug-10 17:21:50 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba (...) (the default) newest->oldest, since mine says "list the latest rev", whereas yours says "just list one rev".

      Friday, 06-Aug-10 17:23:09 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid that makes a lot more sense! damn fonts messing me up

      Friday, 06-Aug-10 17:26:33 UTC
    • Psychedelic Squid (is now at Fragdev) Psychedelic Squid (is now at Fragdev)

      @jamba It's annoying, isn't it? Got burned by it enough times now that I always try to make sure I use fonts that differentiate 1 and l.

      Friday, 06-Aug-10 17:30:21 UTC
    • Jon Robbins Jon Robbins Psychedelic Squid (is now at Fragdev)

      @psquid very annoying. but after some fixage holy crap this thing actually works now!

      Friday, 06-Aug-10 18:01:54 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal