[aur-general] AUR webpage
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit
I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data). If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot. Xyne
On Thu 02 Jul 2009 02:18 +0200, Xyne wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit
I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
I don't think it would be that difficult to set up locally, and then you can use whatever editor you please. I think we should leave it to the clever archers out there. :D
On Wed, Jul 1, 2009 at 8:18 PM, Xyne <xyne@archlinux.ca> wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit
I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
This might make such drive-by updates so easy that, since users would no longer have to download the package data at all, they would submit their edits without even bothering to compile-test them. At least now it's likely that most people would at least run makepkg since it's only a single extra step once you have it all downloaded and updated.
Ray Kohler wrote:
On Wed, Jul 1, 2009 at 8:18 PM, Xyne <xyne@archlinux.ca> wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR
page
so u could edit your PKGBUILDs without having to download then resubmit
I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
This might make such drive-by updates so easy that, since users would no longer have to download the package data at all, they would submit their edits without even bothering to compile-test them. At least now it's likely that most people would at least run makepkg since it's only a single extra step once you have it all downloaded and updated.
So add a checkbox for the editor on orphaned packages so that they have to verify that they have sucessfully built it before it can be submitted. -- Daniel J Griffiths (Ghost1227) griffithsdj@archlinux.us http://ghost1227.com
On July 1, 2009 09:13:36 pm Daniel J Griffiths wrote:
So add a checkbox for the editor on orphaned packages so that they have to verify that they have sucessfully built it before it can be submitted. Would they not have to download it to check the build anyway? That kinda' negates the point of having an online editor.
At first I thought that this idea was nice, but then I've changed my mind: for example, even for the most simple version bump you'd need to update the md5sums array, so you'd have to run makepkg -g anyway; moreover, the PKGBUILD would be presented in a text field without most of the features of a real editor. I just can't see what would be the added value of this feature :)
Ray Kohler schrieb:
On Wed, Jul 1, 2009 at 8:18 PM, Xyne <xyne@archlinux.ca> wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
This might make such drive-by updates so easy that, since users would no longer have to download the package data at all, they would submit their edits without even bothering to compile-test them. At least now it's likely that most people would at least run makepkg since it's only a single extra step once you have it all downloaded and updated.
1+ Stefan
+1 very good ;) 2009/7/2 Stefan Husmann <stefan-husmann@t-online.de>
Ray Kohler schrieb:
On Wed, Jul 1, 2009 at 8:18 PM, Xyne <xyne@archlinux.ca> wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR
page
so u could edit your PKGBUILDs without having to download then resubmit
I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
This might make such drive-by updates so easy that, since users would no longer have to download the package data at all, they would submit their edits without even bothering to compile-test them. At least now it's likely that most people would at least run makepkg since it's only a single extra step once you have it all downloaded and updated.
1+
Stefan
-- corvolino ~ Linux User #459152 Blog - http://corvolinopunk.wordpress.com Archlinux-br Developer Team
Stefan Husmann wrote:
Ray Kohler schrieb:
On Wed, Jul 1, 2009 at 8:18 PM, Xyne <xyne@archlinux.ca> wrote:
nathan duane <ndowens04@gmail.com> wrote:
I have a suggestion, it would be nice to have a text editor for the AUR page so u could edit your PKGBUILDs without having to download then resubmit I think that's an interesting idea and it should only need a few tweaks to the code that displays the PKGBUILDs already (wrap the output in a text area, add it to a form and then handle the POST data).
If we added this then changed the AUR so that any registered user could edit any orphaned package online, it might encourage drive-by updates. This would not present any new security concerns because any registered user can already adopt a package, edit it, upload it then disown it. On the other hand, not having to jump through those hoops might encourage people to update it on the spot.
This might make such drive-by updates so easy that, since users would no longer have to download the package data at all, they would submit their edits without even bothering to compile-test them. At least now it's likely that most people would at least run makepkg since it's only a single extra step once you have it all downloaded and updated.
1+
Stefan hmm if there was some way for makepkg to generate a code after it compiles fine, then have to put the code in the webpage before it will allow the upload
On Wed, Jul 1, 2009 at 23:59, nathan owe.<ndowens04@gmail.com> wrote:
hmm if there was some way for makepkg to generate a code after it compiles fine, then have to put the code in the webpage before it will allow the upload
This has the exact same issue that makepkg needs to be run, which means the PKGBUILD has to be on your local machine, which means that the editor serves absolutely no purpose.
Daenyth Blank wrote:
On Wed, Jul 1, 2009 at 23:59, nathan owe.<ndowens04@gmail.com> wrote:
hmm if there was some way for makepkg to generate a code after it compiles fine, then have to put the code in the webpage before it will allow the upload
This has the exact same issue that makepkg needs to be run, which means the PKGBUILD has to be on your local machine, which means that the editor serves absolutely no purpose.
well maybe a quick edit, l,ike u miss-typed something and it doesn't change the md5sums
On July 2, 2009 12:06:24 am nathan owe. wrote:
well maybe a quick edit, l,ike u miss-typed something and it doesn't change the md5sums If you mistyped something and it compiled fine when you checked it with makepkg, then clearly the change is just going to be cosmetic. Personally, I don't think that someone needs to go through all the trouble of adding an editor for the off chance that someone needs to make a cosmetic change.
Also, someone also brought up the point that it would just be a text edit, and not a _real_ editor by any stretch of the imagination. You can pry my vim from my cold dead hands.
On Thu, 2 Jul 2009 00:10:28 -0400 Ronuk Raval <ronuk.raval@gmail.com> wrote:
well maybe a quick edit, l,ike u miss-typed something and it doesn't change the md5sums If you mistyped something and it compiled fine when you checked it with makepkg, then clearly the change is just going to be cosmetic. Personally, I don't think that someone needs to go through all the
On July 2, 2009 12:06:24 am nathan owe. wrote: trouble of adding an editor for the off chance that someone needs to make a cosmetic change.
Also, someone also brought up the point that it would just be a text edit, and not a _real_ editor by any stretch of the imagination. You can pry my vim from my cold dead hands.
I agree that it would only be good for cosmetic changes, add the possible problems and it would be more harm than good.
participants (12)
-
Arkham
-
corvolino
-
Daenyth Blank
-
Daniel J Griffiths
-
hollunder@gmx.at
-
Loui Chang
-
nathan duane
-
nathan owe.
-
Ray Kohler
-
Ronuk Raval
-
Stefan Husmann
-
Xyne