Skip to content

Add xip support#12

Open
rjaros87 wants to merge 1 commit into
chef-osx:masterfrom
rjaros87:xip
Open

Add xip support#12
rjaros87 wants to merge 1 commit into
chef-osx:masterfrom
rjaros87:xip

Conversation

@rjaros87

Copy link
Copy Markdown

I added xip support like mentioned in #11 with serverspec test.

@rjaros87

Copy link
Copy Markdown
Author

@juliandunn any updates?

@Sauraus

Sauraus commented Dec 19, 2016

Copy link
Copy Markdown

XIP is not something that should be managed by the Xcode cookbook IMHO, this is something that belongs in DMG or ARK cookbooks IMHO.

And besides because you need to host the XCode installer on your systems (can't download from Apple directly) converting the XIP to DMG is also an option that fixes this. @Brantone

@rjaros87

Copy link
Copy Markdown
Author

But who should convert the XIP to DMG?
At this time the Apple share the Xcode as a xip archive.
My solution could be a temporary to provide the ability to install Xcode 8+ until for ex. DMG/ARK coobook or other prepare solution for the xip archive.

@Sauraus

Sauraus commented Dec 20, 2016

Copy link
Copy Markdown

Conversion XIP -> DMG the team that also manages the build farm perhaps.

Yes the Apple shares Xcode as a XIP archive which is why the archive part should be managed by an archive cookbook, eg. dmg or ark. ;)

Adding that code to this cookbook will be a mess that nobody will want to clean up later and only burden the maintainers of keeping XIP support alive.

If you want to include XIP then I suggest you work with the DMG or ARK cookbook maintainers to include support for it there and then update this cookbook to depend on one of those cookbooks.

PS. Having just re-written this cookbook to be a custom resource (#10), I certainly wouldn't want to support XIP here.

@rjaros87 rjaros87 closed this Dec 21, 2016
@rjaros87

rjaros87 commented Dec 27, 2016

Copy link
Copy Markdown
Author

Hi @Sauraus, I try to integraded xip archive with ark cookbook - it's no problem, but
the new Xcode8+ is inside of a CPIO archive, which is xz'd and then packed into a PBZX stream v2.
I think this cookbook should support this way of installation, because it is special only for Xcode.

To extract typical xip archive:

xar -xf <xip-file>

but as you know now, for Xcode.xip isn't enough.

Also I think Xcode8+ is more important than 7 or less.

@rjaros87 rjaros87 reopened this Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants