[aur-dev] [PATCH] Split package flagging and unflagging into separate functions

2012-12-05 Thread canyonknight
Currently, package flagging and unflagging takes place within the pkg_flag() function. A bool is set to true or false depending on the action. Create new pkg_unflag() function with sole purpose of unflagging and keep pkg_flag() in place. This split will be useful in the overhaul of the notificatio

Re: [aur-dev] [PATCH] INSTALL: Allow access to home directory

2012-12-05 Thread canyonknight
On Wed, Dec 5, 2012 at 12:05 PM, Marcel Korpel wrote: > --- > INSTALL | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/INSTALL b/INSTALL > index 76df42b..d682eda 100644 > --- a/INSTALL > +++ b/INSTALL > @@ -69,6 +69,9 @@ Setup on Arch Linux: > $ mysql -uaur -p AUR < ~/aur/support/s

Re: [aur-dev] Some issues after installing AUR locally

2012-12-05 Thread canyonknight
On Wed, Dec 5, 2012 at 12:28 PM, Marcel Korpel wrote: > Hi all, > > After following the instructions and giving Apache access to my home > directory, I managed to go to the local AUR home page. However, apart > from not having dummy data, I have some issues: Could you please open a bug report on

[aur-dev] Some issues after installing AUR locally

2012-12-05 Thread Marcel Korpel
Hi all, After following the instructions and giving Apache access to my home directory, I managed to go to the local AUR home page. However, apart from not having dummy data, I have some issues: 1) There's a message above the page saying "Notice: Undefined index: PATH_INFO in /home/mk/archdev/aur

[aur-dev] [PATCH] INSTALL: Allow access to home directory

2012-12-05 Thread Marcel Korpel
--- INSTALL | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL b/INSTALL index 76df42b..d682eda 100644 --- a/INSTALL +++ b/INSTALL @@ -69,6 +69,9 @@ Setup on Arch Linux: $ mysql -uaur -p AUR < ~/aur/support/schema/aur-schema.sql (give password 'aur' at the prompt) + - Allow ac

[aur-dev] [PATCH] INSTALL: Change # to $ where possible

2012-12-05 Thread Marcel Korpel
This overrides my earlier patch 'INSTALL: Added MYUSER (needed from root)' --- INSTALL | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/INSTALL b/INSTALL index 91aa3da..76df42b 100644 --- a/INSTALL +++ b/INSTALL @@ -57,24 +57,24 @@ Setup on Arch Linux: # m

Re: [aur-dev] INSTALL: Added MYUSER (needed from root)

2012-12-05 Thread Marcel Korpel
On Wed, Dec 5, 2012 at 3:19 PM, Dan McGee wrote: > What on earth are you doing running any of these commands as root? You > most definitely should not be doing this when populating a database, > adding sample data, etc. INSTALL has entries that start with #, so it implies that one should run thes

Re: [aur-dev] INSTALL: Added MYUSER (needed from root)

2012-12-05 Thread Dan McGee
On Wed, Dec 5, 2012 at 6:05 AM, Marcel Korpel wrote: > --- What on earth are you doing running any of these commands as root? You most definitely should not be doing this when populating a database, adding sample data, etc. > INSTALL | 10 +- > 1 file changed, 5 insertions(+), 5 deletio

[aur-dev] [PATCH] INSTALL: Current PHP has JSON support without extension

2012-12-05 Thread Marcel Korpel
--- INSTALL | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index a26dce9..3bc25d8 100644 --- a/INSTALL +++ b/INSTALL @@ -44,12 +44,10 @@ Setup on Arch Linux: 5) Configure PHP Make sure you have mysql and json enabled in PHP. - - Edit php.ini and u

[aur-dev] INSTALL: Added MYUSER (needed from root)

2012-12-05 Thread Marcel Korpel
--- INSTALL | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL b/INSTALL index 1a41066..a26dce9 100644 --- a/INSTALL +++ b/INSTALL @@ -63,17 +63,17 @@ Setup on Arch Linux: - Issue the following commands to the mysql client mysql> GRANT ALL PRIVILEGES ON A

Re: [aur-dev] Subset of database for autocomplete

2012-12-05 Thread Marcel Korpel
On Tue, Dec 4, 2012 at 11:45 PM, canyonknight wrote: > I usually run support/schema/reloadtestdb.sh. It loads the DB schema, > generates dummy data, and loads the dummy data all in one command. That generates the error I described in my previous mail. > Are you planning on using a JavaScript fra

Re: [aur-dev] Subset of database for autocomplete

2012-12-05 Thread Marcel Korpel
On Tue, Dec 4, 2012 at 5:24 PM, Axilleas Pi wrote: > On 12/04/2012 03:32 PM, Marcel Korpel wrote: > If I understood correctly, you could do that by invoking > |gendummydata.py [0]. > > [0] https://projects.archlinux.org/aur.git/tree/INSTALL Thanks for pointing me to that installation guide, I ove