Oh damn.

I went through a fair bit of trouble to get launchpad working again so it
could even pull from github. It turns out no one is maintaining bzr bazaar
anymore, and it does not handle the hg to git extra fields.

I had to truncate the git history, which removes any HG:rename fields,
which launchpad chokes on.

Here's the scripts in case anyone else needs them.



#git-truncate.sh
#!/bin/bash
git log -1 > /tmp/git-log-msg
git checkout --orphan temp $1
#git commit -m "Truncated history"
git commit -F /tmp/git-log-msg
git rebase --onto temp $1 master
git branch -D temp



#mirror-pygame.sh
cd /home/pygame/pygame
echo "sleeping 2"
#sleep 2
#hg pull && hg update && hg bookmark -r default master && hg push git+ssh://
g...@github.com/illume/pygame.git


cd /home/pygame/pygamegit/
rm -rf pygame
mkdir pygame
cd pygame
git init

cd /home/pygame/pygame
hg push ../pygamegit/pygame
cd ../pygamegit/pygame
git checkout hg
git checkout -b master
git checkout hg
git checkout master

git-truncate.sh `git log --all -n 1 --pretty=format:"%H"`

git push git+ssh://g...@github.com/illume/pygame.git --force



On Thu, Oct 22, 2015 at 2:54 PM, Thomas Kluyver <tak...@gmail.com> wrote:

> On 22 October 2015 at 13:07, René Dudfield <ren...@gmail.com> wrote:
>
>> Launchpad builds many different architectures, including on powerpc.
>> https://launchpad.net/builders
>>
>
> PPA builds are only on amd64 and i386 by default. The checkboxes for other
> architectures are greyed out in the PPA admin page. I guess you can get an
> admin to approve powerpc builds, because some other PPA have powerpc
> builds, but I have no idea who to contact about that.
>
> Thomas
>

Reply via email to