could this most probably be a typo?
you typed in
but your complete PGP key adress isCode:Andrew Kiss <xanga9885@hotmail.com>
Code:Andrew Kiss (I Own) <xanga9885@hotmail.com>
Printable View
could this most probably be a typo?
you typed in
but your complete PGP key adress isCode:Andrew Kiss <xanga9885@hotmail.com>
Code:Andrew Kiss (I Own) <xanga9885@hotmail.com>
That worked.
Now I feel retarded. :P
Well I made a easy script just to automate most of it.
Code:#!/bin/bash
echo "Name of project? (i.e. helloworld)"
read pname
echo "Version of $pname? (i.e. 1.0)"
read pversion
clear
zenity --info --text="Please move the script into ~/Projects/$pname/"
mkdir -p ~/Projects/$pname/$pname-$pversion/debian/
cd ~/Projects/$pname/$pname-$pversion/debian/
touch changelog compat control copyright install rules
clear
zenity --info --text="Please edit the files according to http://ubuntuforums.org/showthread.php?t=929498"
gedit * &
cd ..
debuild -S
clear
echo "You can now upload the files to LaunchPad via dput."
extend your automation to dput by capturing debuild -S output and getting the changes file. :)
...um...
Can you put that into idiot terms for me?
You have 1000 posts, I have 100.
You're more experienced than I am.
debhelper 7 and devcscripts will make this much much much simpler, if someone didn't point it out already:
compat = 7
debian/rules:
dch -i to make changelog entryCode:#!/usr/bin/make -f
%:
$@
Just add copyright and control and install and you're done. No need to rely on cdbs.
The script sets a variable for the project name, pname so I can do
New script:Code:dput my-ppa ~/Projects/$pname/$pname*.changes
Code:#!/bin/bash
echo "Name of project? (i.e. helloworld)"
read pname
echo "Version of $pname? (i.e. 1.0)"
read pversion
clear
zenity --info --text="Please move the script into
~/Projects/$pname/ and press the OK button."
mkdir -p ~/Projects/$pname/$pname-$pversion/debian/
cd ~/Projects/$pname/$pname-$pversion/debian/
touch changelog control compat copyright install rules
zenity --info --text="Please edit the files according to
http://ubuntuforums.org/showthread.php?t=929498"
gedit *
cd ..
debuild -S
clear
dput my-ppa ~/Projects/$pname/$pname*.changes
I know this is old, but I would like to know what if all you want to upload is a python file for example? helloworld.py?
I get an error when I try debuild -k<key> -S -sa:
My rules file:Code:make: *** No rule to make target `clean'. Stop.
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed
scons: *** [test] Error 29
Code:#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
%:
$@