Skip to contentSkip to conversation

Problem with latest alsa-info.sh patch

PATCH In review Travis Place 2 participants 3 messages Aug 16, 2008 – Aug 17, 2008

lore
Share & tools
lore
#0 lore raw

The latest patch to allow the uploading to alsa-project.org seems to work fine, for the most part, unless you want to use the --pastebin option for the legacy upload to pastebin.ca . It seems that the uploaded data gets truncated. Not sure if this is the script, or the pastebin having problems. Ill look into it a bit more when i have time (its 5:30am here, and i need sleep).

Just thought id point this out. I realise the 'default' behaviour is to use alsa-project.org for uploading, but i feel the other pastebin.ca mode should still function(I personally get people to upload there first, and then 'submit' card details to alsa-project.org/db/ afterwards.

Thanks,
Travis Place (wishie)

#1 lore raw

PATCH 1/1 Problem with latest alsa-info.sh patch

Ok, so the deal is, with the new --pastebin argument, the script wasnt running as if '--with-all' was specified. Ive included a quick patch to remedy this situation, and make the pastebin output work as it should.

Bumped the version number up, so existing users get the update.

Changelog: Fixed the output uploaded to pastebin.ca (when using --pastebin).

Quoted 12 lines · Travis Place

The latest patch to allow the uploading to alsa-project.org seems to work fine, for the most part, unless you want to use the --pastebin option for the legacy upload to pastebin.ca . It seems that the uploaded data gets truncated. Not sure if this is the script, or the pastebin having problems. Ill look into it a bit more when i have time (its 5:30am here, and i need sleep).

Just thought id point this out. I realise the 'default' behaviour is to use alsa-project.org for uploading, but i feel the other pastebin.ca mode should still function(I personally get people to upload there first, and then 'submit' card details to alsa-project.org/db/ afterwards.

Quoted 6 lines

Thanks,
Travis Place (wishie)
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

alsa-info.sh.fixed renamed from alsa-info.sh +9 -1
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.49
+SCRIPT_VERSION=0.4.50
 CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog"
 
 #################################################################################
@@ -434,6 +434,14 @@
 	do
 	case "$1" in
 		--pastebin)
+		        update
+        		withdevices
+        		withconfigs
+        		withaplay
+        		withamixer
+        		withalsactl
+        		withlsmod
+        		pbcheck
 			;;
 		--update)
 			update

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 3 lines · Travis Place

Ok, so the deal is, with the new --pastebin argument, the script wasnt running as if '--with-all' was specified. Ive included a quick patch to remedy this situation, and make the pastebin output work as it should.

Thanks. Applied.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.