Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

Somebody on the GSoC mailing list wrote a script gathering all the
commits of a specific author in to the separate patches and pack it to
one archive.
I am supposed to consult with you what code should I send to Google and how.
Is this method ok?

If it's somehow relevant, this is the script used:
----------------------------------------------
#!/bin/bash

##Verify the number of arguments
if [ $# != 4  ]; then
        echo Usage '-> gsoc_sample given_name sur_name start_date end_date'
        echo The dates must be in the format YYYY-MM-DD
        echo The name must be the same as the user of the git repository
        exit
fi

mkdir samples

for rev in `git log --author "$1 $2" --after=$3 --before=$4
--format=format:%H`;
do
        git show $rev > `git log --date=short
--format=format:GSOC_SAMPLE-%cd-%f.patch -1 $rev` ;
done

mv GSOC_SAMPLE* samples

tar -zcvf $1_$2.tar.gz samples/*
rm -r samples

----------------------------------

The second thing - is there any java-related work now in Libre I could
help with? That's enough of c++ for a while ;)

Best regards,
Artur

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.