Re: [swift-corelibs-dev] Unavailability macros for APIs that aren't going to be implemented on Linux?

2017-08-02 Thread Alex Blewitt via swift-corelibs-dev

> On 28 Jul 2017, at 20:30, Alex Blewitt via swift-corelibs-dev 
>  wrote:
> 
> In the meantime I'll take a stab next week at proposing some unavailability 
> annotations for some of the stuff which almost certainly doesn't make sense, 
> to do with Mach ports and NSZone. 

I've created a pull request which adds NSUnsupported, and uses that to wrap 
NSPort and NSMessagePort:

https://github.com/apple/swift-corelibs-foundation/pull/1150

What do you think? Should we use 'deprecated' (so that it's a warning) or 
'unavailable' (so that it's a compile time error)?

+@available(*,deprecated,message:"Not available on non-Darwin platforms")

+@available(*,unavailable,message:"Not available on non-Darwin platforms")


Alex

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


Re: [swift-corelibs-dev] Unavailability macros for APIs that aren't going to be implemented on Linux?

2017-08-02 Thread Ian Partridge via swift-corelibs-dev
I think a compile-time failure is appropriate and most helpful to a
developer.

On 2 August 2017 at 09:38, Alex Blewitt via swift-corelibs-dev <
swift-corelibs-dev@swift.org> wrote:

>
> On 28 Jul 2017, at 20:30, Alex Blewitt via swift-corelibs-dev <
> swift-corelibs-dev@swift.org> wrote:
>
> In the meantime I'll take a stab next week at proposing some
> unavailability annotations for some of the stuff which almost certainly
> doesn't make sense, to do with Mach ports and NSZone.
>
>
> I've created a pull request which adds NSUnsupported, and uses that to
> wrap NSPort and NSMessagePort:
>
> https://github.com/apple/swift-corelibs-foundation/pull/1150
>
> What do you think? Should we use 'deprecated' (so that it's a warning) or
> 'unavailable' (so that it's a compile time error)?
>
> + @available(*,deprecated,message:"Not available on non-Darwin platforms")
> + @available(*,unavailable,message:"Not available on non-Darwin platforms"
> )
>
> Alex
>
>
> ___
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
>
>


-- 
Ian Partridge
___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Informal Chat Medium

2017-08-02 Thread David Hart via swift-corelibs-dev
Hello Corelibs dev,

A few months back, I wanted to start contributing more seriously to Swift Open 
Source. I ended up helping out on the Swift Package Manager project and had a 
very positive experience. It’s not easy to jump into a big project and it would 
not have been such a success for me without their official Slack channel where 
I was grateful to often find a helping hand when I had doubts, questions, or 
wanted to discuss and understand the process or direction of the project. That 
medium really helped me to ask the kind of questions I was afraid to ask on the 
mailing-list, which feels like a more formal medium.

Now that I’m looking into what I can do on corelibs-foundation, I really wish 
an equivalent channel existed. Is this an idea the corelibs team would be 
interested in entertaining?

Regards,
David.
___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Swift.org scheduled outages for bug reporting, mailing lists, website and CI

2017-08-02 Thread Nicole Jacque via swift-corelibs-dev
Hello All-

We will have some downtime for swift.org  resources over the 
weekend as we upgrade our infrastructure.  

The outage schedule will be as follows:
bugs.swift.org will become unavailable starting at 9 PM Thursday, Aug 3 
(Pacific) until the upgrade is completed on Saturday, Aug 5
swift.org mailing lists (including this list)  will become unavailable starting 
at 3 PM Friday, Aug 4 until the upgrade is completed on Saturday
ci.swift.org and all CI infrastructure will become unavailable starting at 3 PM 
Friday, Aug 4 until the upgrade is completed on Saturday.  We will also be 
locking the repos at this time until CI is back up.
The swift.org website will be unavailable for a short time on Saturday 
afternoon.

We expect the upgrade to be complete on Saturday afternoon or evening.  We will 
send out email when the upgrade is complete.

Thanks,
Nicole

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev