1 |
On 13/02/2015 23:08, James wrote: |
2 |
> Alan McKinnon <alan.mckinnon <at> gmail.com> writes: |
3 |
> |
4 |
> |
5 |
>> I doubt dpkg and rpm aren't going to be much use to you, unless you |
6 |
>> really want to run two package managers. Besides, both are not |
7 |
>> especially useful with the front ends apt* and yum. |
8 |
> |
9 |
> I'd just use those to unpackage and maybe preprocess some of the codes. |
10 |
> |
11 |
> Agreed. I do not want a full blown deb or rpm package manager just |
12 |
> a way to install and evaluate some of those codes before beginning a more |
13 |
> arduous and comprehensive task. Maybe I should just put up a RH/centos box |
14 |
> and evaluate codes there. It seems *everything* I want to test and look at |
15 |
> in the cluster and hpc world, as a rpm or deb package; so I'm looking for a |
16 |
> time saver, to surf thru the myriad of codes I'm getting; many look very |
17 |
> cool from the outside, but once I run them, they are pigs....... |
18 |
> |
19 |
> Then a slick way to keep them secure and clean it out. Maybe I need chroot |
20 |
> jails too? I spend way to much time managing codes rather than I do actually |
21 |
> writing code. I feel confused often and cannot seem to master this |
22 |
> git_thingy.... I have not code seriously in a long time and now it is |
23 |
> becoming an obsession, but the old ways are draining my constitutional |
24 |
> powers..... |
25 |
|
26 |
|
27 |
I see you are doing more than I thought you were doing :-) |
28 |
|
29 |
rpms and debs are both cpio files so the easy way is to unpack them and |
30 |
see what's going on: |
31 |
|
32 |
rpm2cpio name.rpm | cpio -iv --make-directories |
33 |
dpkg -x somepackage.deb ~/temp/ |
34 |
|
35 |
Considering the size of what you are doing, you are probably better off |
36 |
running a Centos and Debian system to evaluate the code and discard the |
37 |
rubbish. Once you've isolated the interesting ones, you can evaluate |
38 |
them closer and maybe write ebuilds for them. |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
> |
44 |
> |
45 |
>> Any special reason why you don't instead download the sources and build |
46 |
>> them yourself with PREFIX=/usr/local ? |
47 |
> |
48 |
> Lots of errant codes flying everywhere so you have to pull a code audit |
49 |
> to see what's in the raw tarballs before building. That takes way too much |
50 |
> time. I'm working on setting up several more workstations for coding to |
51 |
> isolate them from my main system. This approach you suggest is: error prone, |
52 |
> takes too much time, and I'm lazy and sometimes even stupid. |
53 |
> I need a structure methodology to be a one man extreme_hack_prolific |
54 |
> system that prevents me from doing stupid things, whilst I'm distracted. |
55 |
> |
56 |
> |
57 |
> Maybe I should just put up a VM resources on the net, blast tons |
58 |
> of tests thru the vendors hardware and let them worry about the |
59 |
> security ramifications? Some of it is these codes are based on 'functional |
60 |
> languages' and I just do not trust what I do not fully understand. Stuff |
61 |
> (files etc) goes everywhere and that makes me cautiously nervous. I have |
62 |
> /usr/local for manual work and /usr/local/portage for ovelays (layman) but |
63 |
> it's becoming a mess. There where to I put the work effort that is a result |
64 |
> from repoman. Those codes seem to be parallel projects often |
65 |
> when the code I'm evaluating needs to be cleaned up or extend to properly |
66 |
> test. Furthermore I have a growing collection of file that result |
67 |
> from kernel profiling via trace-cmd, valgrind, systemtap etc etc. |
68 |
> As soon as I delete something, I need to re-generated it for one |
69 |
> reason or another...... I just hope that this repo.conf effort |
70 |
> helps be get more structurally organized? |
71 |
> |
72 |
> |
73 |
> Did you see/test 'travis-ci' yet? [1] I'm not sure it's the same |
74 |
> on github [2] but some of the devs are using it on github. |
75 |
> |
76 |
> |
77 |
> |
78 |
> James |
79 |
> |
80 |
> [1] http://docs.travis-ci.com/ |
81 |
> |
82 |
> [2] https://github.com/travis-ci/travis-ci |
83 |
> |
84 |
> |
85 |
> |
86 |
> |
87 |
> |
88 |
> |
89 |
> |
90 |
> |
91 |
> |
92 |
|
93 |
|
94 |
-- |
95 |
Alan McKinnon |
96 |
alan.mckinnon@×××××.com |