× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



*>I'm not sure what you mean by checking for "new" files*

One of the top issues I have with helping people adopt Node.js/Ruby is when
Node modules or Ruby gems get installed at the machine level (global vs.
directory local to project). Ruby's default is to install globally.
Node.js installs locally by default, but a lot of developer tools recommend
the '-g' option on 'npm install' and that would then install it in
/QOpenSys/QIBM/ProdData/OPS/Node4/... Perzl stuff also complicates things.

In short, I currently spend an inordinate amount of time figuring out how I
(or a customer) "hosed" an environment. The worst is when it's in the
"base of PASE" (vs. chroot) It would be great to have a "health check"
tool that would go beyond what CHKPRDOPT currently does.



Aaron Bartell
litmis.com - Services for open source on IBM i


On Wed, Oct 19, 2016 at 10:55 AM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

Yes, CHKPRDOPT will read that file and verify all the contents are there
and that they are owned by QSYS. Since the manifest file does not contain
information about permissions; whether it should be a file, directory, or
symlink; or maintain a checksum; none of those things can be checked by
CHKPRDOPT.

I'm not sure what you mean by checking for "new" files, but it's probably
not going to be very useful unless you take in to account the entirety of
the OPS manifest files.


"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 10/19/2016
08:02:15 AM:

From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 10/19/2016 08:21 AM
Subject: Re: [IBMiOSS] OPS Version Information
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

Very cool. I think "what is my current state?" tools for PASE are going
to
be very valuable in the near future.

Your script gave me an idea based on some work Tony Cairns did with
ibmichroot. Basically there is a new way of generating(n1)
chroot_xxxxx.lst files by using the PTF info files (.qptfinf) and a
python
script(n2). This was done so all the necessary symlinks would be
automatically created and not based on my or Tony's recollection(n3).

I am thinking the .qptfinf files could also be used to do a health check
to
make sure nothing has "stained" the IBM directory (i.e.
/QOpenSys/QIBM/ProdData/OPS/...). We do have command CHKPRDOPT but it
doesn't appear to go as deep as I'd like (i.e. checking for *new* files,
permissions, modified files, etc).

n1 - Look for chroot_gen_xxxx.lst files at this URL:
https://bitbucket.org/litmis/ibmichroot/src/master/chroot/
n2 -

https://bitbucket.org/litmis/ibmichroot/src/master/chroot/
gen_chroot_OPS_lst

n3 -
https://bitbucket.org/litmis/ibmichroot/src/master/chroot/
chroot_gen_OPS_Python3.4.lst
(see :ln_rel section)


Aaron Bartell
litmis.com - Services for open source on IBM i


On Tue, Oct 18, 2016 at 7:39 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

I think Pete asked for this a while back, maybe others as well. I've
whipped up some scripts to grab the version and PTF level for all the
OPS
stuff you have installed: /QOpenSys/QIBM/ProdData/OPS/tools/bin/opsver

You can see it in action here:
https://asciinema.org/a/c9j7tl5c5yplnlm7m4a1lgqgz

PTFs will be released soon, probably later this week or next depending
on
how busy ZendCon is.


--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.



--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.