[Bro] Bro updates force some bro-pkg rebuilds.. sometimes.

Mike Dopheide dopheide at gmail.com
Wed Feb 28 19:25:12 PST 2018

> I wonder if that's needed since bro-pkg can already see what packages
> have specified a 'build_command' ? i.e. bro-pkg can simply rebuild any
> package that has supplied a build command.  I'd think that even for
> packages which don't strictly require a rebuild, it's not harmful to
> rebuild/reinstall anyway.

Great point, build_command serves the same purpose.

> > 2) And a corresponding bro-pkg command:  bro-pkg rebuild [nodeps]
> Makes sense to me.  Unless there's further feedback from this thread,
> I'd say go ahead and create an issue on on github for adding a
> 'rebuild' command or take a crack at a PR in case I don't get to it
> immediately.
> Possibly a workaround to do in the meantime would be to do:
> $ bro-pkg bundle everything.bundle
> $ bro-pkg unbundle everything.bundle
> $ rm everything.bundle
> Which should result in a rebuild/reinstall of all installed packages

Good to know.  I may take a stab at a PR for 'rebuild', but I can't promise
anything soon either.  Will wait for additional community feedback.

> > Separately, but kinda related, I wouldn't mind a '--yes' flag or
> something
> > similar when packages aren't being installed interactively.
> The --force flag will suppress all interactive prompts.  Does that
> work like you need ?

Not sure I realized --force was an option, but that should work.

Thanks, Jon.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20180228/d0c1025a/attachment.html 

More information about the Bro mailing list