[ANNOUNCEMENT] Updated: gcc-6.3.0-2 (x86/x86_64)(Test)

Marco Atzeri marco.atzeri@gmail.com
Sun Jul 2 05:32:00 GMT 2017


On 02/07/2017 05:47, JonY wrote:
> On 07/01/2017 10:46 AM, Marco Atzeri wrote:
>> On 01/07/2017 10:37, JonY wrote:
>>> On 07/01/2017 04:56 AM, Marco Atzeri wrote:
>>>> On 29/06/2017 13:16, JonY wrote:
>>>>> gcc-6.3.0-2 has been uploaded for Cygwin. It is marked as a test
>>>>> version.
>>>>>
>>
>>>>
>>>> I did for you and also removed the 6.3.0-1
>>>> files, to avoid future problems when removing the override.hint
>>>>
>>>
>>> Thanks, I was trying to find out how to remove -1.
>>>
>>
>>
>> to remove any <nomefile> upload an empty <-nomefile>
>>
>> see instructions at the end of
>> https://cygwin.com/package-upload.html
>
> Does it need to be in the same directory layout of the actual file to be
> removed? Does it also support globbing?
>

same exact layout, no globbing.

I prefer to use lftp for upload, and I use the attached script in
the upload tree to duplicate for every new file a removal of the old one

upload-removal.sh 6.3.0-2 6.3.0-1

Of course if the structure changes you need to do manually,
usually for API bumps..

Regards
Marco







-------------- next part --------------
#!/bin/bash
if [ $# -ne 2 ]
then
    echo "Usage : " $0 "new_version old_version"
    exit 1
fi

for i in $(find -type f -name "*.xz" -not -name "-*.xz" ) $(find -type f -name "*.hint" -not -name "-*.hint" )
do
	OF=$(basename $i)
	DF=${OF/$1/$2}
	if [ x${OF} != x${DF} ]
	then
		DD=${i%${OF}}
		cp -- /dev/null ${DD}"-"${DF}
	fi
done

-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list