Hi,
Could you please help us resolve this new IPS issue ? Maybe there is
something unclear in directory format uploading.
Thank you very much,
BR,
Elaine
-------- Original Message --------
Subject: RE: The IPS issue
Date: Sat, 07 Feb 2009 13:06:53 +0530
From: Chirag Juneja <[email protected]>
To: Chirag Juneja <[email protected]>, "[email protected]"
<[email protected]>
CC: Gaurav Jain <[email protected]>, Varun Khaneja <[email protected]>,
Xiao-Ping Elaine Xiong <[email protected]>, Ravish Qureshi
<[email protected]>
References: <[email protected]>
<9fb9b9c25e2f234f85df5b96e4a60c994231142...@indiambx01.corp.adobe.com>
<[email protected]>
<9fb9b9c25e2f234f85df5b96e4a60c994231143...@indiambx01.corp.adobe.com>
Hi Brian,
We tried to upload our package via directory method as suggested by you.
Initially we succeeded to upload the package, but on that machine we had played
with the pkg sources.
When tried on a fresh machine, we are not able to upload the package correctly,
in the meanwhile we have lost the changes we made and now can not make out the
differences.
But it(directory method) should have worked without any tweak, right?
The procedure we took to upload the package was :
* Setup the repository:
/usr/lib/pkg.depotd -d <IPS_repository> -p <port> &
* Send package to repository:
eval `pkgsend open <pkgname>@$<version>`
pkgsend -s <IPS_Server> send <DIR>
( <DIR> contains all the files need ed by the package( pkginfo, install and data files) )
pkgsend close
At the end of close we get status "PUBLISHED". But "manifest" file does not
contain any entry of the package files.
All it has is :
"
set name=fmri value=pkg:/[email protected],5.11:20090207T124927Z
set name=authority value=IPS-8081
"
Can you tell us, what are we missing here?
It will be great, if you could reply soon.
---
Thanks & Regards,
Chirag Juneja
Adobe Systems(India) Pvt. Ltd.
I-1A, City Center, Sector 25 A,
Noida, UP-201301.
Tel # 91-120-2444711 X 33901
-----Original Message-----
From: Chirag Juneja
Sent: Tuesday, January 13, 2009 5:24 PM
To: Chirag Juneja; [email protected]
Cc: Gaurav Jain; Varun Khaneja; Xiao-Ping Elaine Xiong; Ravish Qureshi
Subject: RE: The IPS issue
Forgot to add link to the bug.
It is http://defect.opensolaris.org/bz/show_bug.cgi?id=6088
---
Thanks & Regards,
Chirag Juneja
Adobe Systems(India) Pvt. Ltd.
I-1A, City Center, Sector 25 A,
Noida, UP-201301.
Tel # 91-120-2444711 X 33901
-----Original Message-----
From: Chirag Juneja
Sent: Tuesday, January 13, 2009 5:22 PM
To: '[email protected]'
Cc: Gaurav Jain; Varun Khaneja; Xiao-Ping Elaine Xiong; Ravish Qureshi
Subject: RE: The IPS issue
Hi Brian,
We have added the bug for this issue, along with proposed patch.
We will try that method to publish data on the server one-by-one as well, and
let you know if any issue occurs in that.
---
Thanks & Regards,
Chirag Juneja
Adobe Systems(India) Pvt. Ltd.
I-1A, City Center, Sector 25 A,
Noida, UP-201301.
Tel # 91-120-2444711 X 33901
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, January 13, 2009 8:18 AM
To: Chirag Juneja
Cc: Gaurav Jain; Varun Khaneja; Xiao-Ping Elaine Xiong; Ravish Qureshi
Subject: Re: The IPS issue
Hi, Chiag,
The following is what I got from IPS team:
In "SolarisPackageDatastreamBundle.py" file, during __init__ call, no
>> attempt is made to fill the "link entry" in the pkgmap dict.
Indeed; the datastream bundle class has some bugs in this area that the
directory bundle class doesn't. The reason we haven't seen this before is
that we use only the directory bundle class for building OpenSolaris, and
it must be that most other people use that as well. A workaround would be
for you to pkgtrans the package from datastream to directory before doing
the import.
Please file a bug on defect.opensolaris.org. If your customer has a
contributor agreement and would like to submit their patch, feel free to
attach the patch to the bug. Otherwise, we'll fix it independently.
Can you file a bug on defect.opensolaris.org?
Thanks
Brian
Chirag Juneja wrote:
Hi Brian,
We investigated the source python files on server-side.
During investigation we found the following:
In "SolarisPackageDatastreamBundle.py" file, during __init__ call, no
attempt is made to fill the "link entry" in the pkgmap dict.
And, in the __iter__ call, pkg.datastream does not contain entry of
"links",but all other entries are there in it. Later in the function,
in the for loop using "manifest" again we did not find any specific
handling for "link" entries and hence no action call was made for the
same.
We deliberately made the above changes and it seemed to worked for us.
( we made entry for pkgmap in the __init__ function and in the
__iter__ function, we added the case for "link" in the for loop called
on "manifest" )
We are not sure how other packages( all other we checked were sun
packages) actually got the entry for the "link" items.
Let us know, if the changes mentioned are necessary (on server side)
or we actually missed out something in our package, which we need to fix?
---
Thanks & Regards,
Chirag Juneja
Adobe Systems(India) Pvt. Ltd.
I-1A, City Center, Sector 25 A,
Noida, UP-201301.
Tel # 91-120-2444711 X 33901
------------------------------------------------------------------------
*From:* [email protected] [mailto:[email protected]]
*Sent:* Wednesday, January 07, 2009 8:49 AM
*To:* Chirag Juneja
*Cc:* Gaurav Jain; Varun Khaneja; Xiao-Ping Elaine Xiong
*Subject:* The IPS issue
Chirag,
We never see this issue before.
I've sent an e-mail to our IPS team about the issue you sent to Elaine.
If I got any update, I'll sent it to you.
Regards
Brian
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss