Re: [Factor-talk] installation packages for CI?

2014-02-27 Thread Björn Lindqvist
2014-02-10 6:56 GMT+01:00 Andrew Pennebaker andrew.penneba...@gmail.com:
 I can add that ppa to my source list, but when I `apt-get install factor`, I
 get a program for factoring compound numbers, not the Factor programming
 language.

 Could we rename the ppa to work around the name collision?

No you do get the Factor language. But the binary is called
factor-lang not factor which is a number factoring program shipped
with coreutils. Btw you may also wish to uninstall and reinstall
factor as I've recently published new packages here:

https://launchpad.net/~bjourne/+archive/factor

I plan to update them frequently to keep them in sync with Factor's
main master branch.


-- 
mvh/best regards Björn Lindqvist
http://www.bjornlindqvist.se/

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-27 Thread Andrew Pennebaker
Thanks for the ppa! That's exactly what I was looking for.


On Thu, Feb 27, 2014 at 9:30 AM, Björn Lindqvist bjou...@gmail.com wrote:

 2014-02-10 6:56 GMT+01:00 Andrew Pennebaker andrew.penneba...@gmail.com:
  I can add that ppa to my source list, but when I `apt-get install
 factor`, I
  get a program for factoring compound numbers, not the Factor programming
  language.
 
  Could we rename the ppa to work around the name collision?

 No you do get the Factor language. But the binary is called
 factor-lang not factor which is a number factoring program shipped
 with coreutils. Btw you may also wish to uninstall and reinstall
 factor as I've recently published new packages here:

 https://launchpad.net/~bjourne/+archive/factor

 I plan to update them frequently to keep them in sync with Factor's
 main master branch.


 --
 mvh/best regards Björn Lindqvist
 http://www.bjornlindqvist.se/


 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-09 Thread Björn Lindqvist
2014-02-08 11:56 GMT+01:00 Gabriel Kerneis gabr...@kerneis.info:
 On Fri, Feb 07, 2014 at 06:44:32PM -0500, Andrew Pennebaker wrote:
 If we met users half way, presenting .deb's, .rpm's, maybe a ppa repo, that
 would be a great start.

 As a first step, I recommend using https://build.opensuse.org/

 It is slightly openSUSE centered, but makes it easy to check that your
 basic rpm  deb build for ubuntu, debian, fedora and openSUSE.

A while ago I created Ubuntu packages for Factor and put them in my
PPA here: https://launchpad.net/~bjourne/+archive/factor

Someone has also packaged Factor for Arch:
https://aur.archlinux.org/packages/factor/

A big problem is that Factors build doesn't make it easy to install
system-wide in a typical Linux setup. So you have to add lots of hacks
to the build to add support for prefixed installation, with binary and
support files split in different directories. It's a lot of work and
hard to keep it in sync with Factors github repository. A smaller
problem is that some Factor words wants to overwrite the image and
file and write in directories relative to the executable file which
obviously is problematic on Linux where writes outside of $HOME is
forbidden. But I think most Linux users can live with that limitation.

So to address the problematic build I've created an alternate build
process which you are welcome to check out here:
https://github.com/slavapestov/factor/pull/934 It's written using waf
which I think is great for complicated build-processes like Factor's.
With the branch, the build command becomes python waf.py configure
--prefix=/opt/factor2 build  sudo python waf.py install. Using that
as their base, I believe someone knowledgable of their distro's build
system could very easily package Factor.

Then to actually get distros to put Factor in their repos would entail
reopening tickets like this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471925 Plus, Debian
has some bureaucratic rules on packages they ship. Like requiring a
man page.


-- 
mvh/best regards Björn Lindqvist

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-09 Thread Andrew Pennebaker
I can add that ppa to my source list, but when I `apt-get install factor`,
I get a program for factoring compound numbers, not the Factor programming
language.

Could we rename the ppa to work around the name collision?


On Sun, Feb 9, 2014 at 9:59 PM, Björn Lindqvist bjou...@gmail.com wrote:

 2014-02-08 11:56 GMT+01:00 Gabriel Kerneis gabr...@kerneis.info:
  On Fri, Feb 07, 2014 at 06:44:32PM -0500, Andrew Pennebaker wrote:
  If we met users half way, presenting .deb's, .rpm's, maybe a ppa repo,
 that
  would be a great start.
 
  As a first step, I recommend using https://build.opensuse.org/
 
  It is slightly openSUSE centered, but makes it easy to check that your
  basic rpm  deb build for ubuntu, debian, fedora and openSUSE.

 A while ago I created Ubuntu packages for Factor and put them in my
 PPA here: https://launchpad.net/~bjourne/+archive/factor

 Someone has also packaged Factor for Arch:
 https://aur.archlinux.org/packages/factor/

 A big problem is that Factors build doesn't make it easy to install
 system-wide in a typical Linux setup. So you have to add lots of hacks
 to the build to add support for prefixed installation, with binary and
 support files split in different directories. It's a lot of work and
 hard to keep it in sync with Factors github repository. A smaller
 problem is that some Factor words wants to overwrite the image and
 file and write in directories relative to the executable file which
 obviously is problematic on Linux where writes outside of $HOME is
 forbidden. But I think most Linux users can live with that limitation.

 So to address the problematic build I've created an alternate build
 process which you are welcome to check out here:
 https://github.com/slavapestov/factor/pull/934 It's written using waf
 which I think is great for complicated build-processes like Factor's.
 With the branch, the build command becomes python waf.py configure
 --prefix=/opt/factor2 build  sudo python waf.py install. Using that
 as their base, I believe someone knowledgable of their distro's build
 system could very easily package Factor.

 Then to actually get distros to put Factor in their repos would entail
 reopening tickets like this:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471925 Plus, Debian
 has some bureaucratic rules on packages they ship. Like requiring a
 man page.


 --
 mvh/best regards Björn Lindqvist


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-08 Thread Gabriel Kerneis
On Fri, Feb 07, 2014 at 06:44:32PM -0500, Andrew Pennebaker wrote:
 If we met users half way, presenting .deb's, .rpm's, maybe a ppa repo, that
 would be a great start.

As a first step, I recommend using https://build.opensuse.org/

It is slightly openSUSE centered, but makes it easy to check that your
basic rpm  deb build for ubuntu, debian, fedora and openSUSE.

Best,
-- 
Gabriel

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-07 Thread Doug Coleman
We could do that if we automate the entire process. That would entail
someone writing some code to generate those packages and possibly
automatically submitting them to the package managers. Is that possible?

Doug


On Fri, Feb 7, 2014 at 1:00 PM, Andrew Pennebaker 
andrew.penneba...@gmail.com wrote:

 Could we start building .deb's, .rpm's, etc. as part of continuous
 integration? Ideally, Linux users could get factor straight from their
 package manager.

 --
 Cheers,

 Andrew Pennebaker
 www.yellosoft.us


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] installation packages for CI?

2014-02-07 Thread Andrew Pennebaker
Could we start building .deb's, .rpm's, etc. as part of continuous
integration? Ideally, Linux users could get factor straight from their
package manager.

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] installation packages for CI?

2014-02-07 Thread Andrew Pennebaker
Package geneartion can be scripted.

At worst, deployment to official repo's would require manual intervention
each time.

If we met users half way, presenting .deb's, .rpm's, maybe a ppa repo, that
would be a great start.
On Feb 7, 2014 5:13 PM, Doug Coleman doug.cole...@gmail.com wrote:

 We could do that if we automate the entire process. That would entail
 someone writing some code to generate those packages and possibly
 automatically submitting them to the package managers. Is that possible?

 Doug


 On Fri, Feb 7, 2014 at 1:00 PM, Andrew Pennebaker 
 andrew.penneba...@gmail.com wrote:

 Could we start building .deb's, .rpm's, etc. as part of continuous
 integration? Ideally, Linux users could get factor straight from their
 package manager.

 --
 Cheers,

 Andrew Pennebaker
 www.yellosoft.us


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk




 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.

 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Factor-talk mailing list
 Factor-talk@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/factor-talk


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk