public inbox for [email protected]  
help / color / mirror / Atom feed
Finalizing pgadmin4 RPM work
12+ messages / 3 participants
[nested] [flat]

* Finalizing pgadmin4 RPM work
@ 2016-09-09 08:15  Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-09 08:15 UTC (permalink / raw)
  To: pgadmin-hackers


Hi,

I committed pgadmin4 WIP spec file a few days ago, and now I'd like to finalize
the packaging.

Right now, we have 2 packages:

* pgadmin4-1.0-rc1_1.f24.x86_64 , includes:
  /usr/pgadmin4-1.0/runtime/pgAdmin4
  /usr/pgadmin4-1.0/runtime/pgadmin4.ini

* pgadmin4-web-1.0-rc1_1.f24.noarch , includes:
 - the rest.

So, what is next? I assume I'd need to add a unit file / init script, right?
Anything I'm missing?

Regards,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-09 10:26  Dave Page <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Dave Page @ 2016-09-09 10:26 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers

Hi

On Fri, Sep 9, 2016 at 9:15 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi,
>
> I committed pgadmin4 WIP spec file a few days ago, and now I'd like to finalize
> the packaging.

Cool.

> Right now, we have 2 packages:
>
> * pgadmin4-1.0-rc1_1.f24.x86_64 , includes:
>   /usr/pgadmin4-1.0/runtime/pgAdmin4
>   /usr/pgadmin4-1.0/runtime/pgadmin4.ini
>
> * pgadmin4-web-1.0-rc1_1.f24.noarch , includes:
>  - the rest.
>
> So, what is next? I assume I'd need to add a unit file / init script, right?
> Anything I'm missing?

For users to run in desktop mode, nothing else should be required,
except possibly a shortcut to the runtime executable.

For all users, a config_distro.py file may be needed to to override
any of the default config settings with distro specific values.

For users running in web mode, an Apache HTTPD config snippet should
be adding in /etc/httpd/conf.d. That should look something like this
(for httpd 2.4 - the Require All Granted will be different on earlier
version):

    WSGIDaemonProcess pgadmin processes=1 threads=25
    WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi

    <Directory /opt/pgAdmin4/web>
        WSGIProcessGroup pgadmin
        WSGIApplicationGroup %{GLOBAL}
        Require all granted
    </Directory>

Finally; are you building and including the docs? Their location will
need to be in the config.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-11 09:01  Devrim Gündüz <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-11 09:01 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: pgadmin-hackers


Hi,

On Fri, 2016-09-09 at 11:26 +0100, Dave Page wrote:

> For users to run in desktop mode, nothing else should be required,
> except possibly a shortcut to the runtime executable.

Any chance to add .desktop file to git, like we did for pgadmin3?

> For all users, a config_distro.py file may be needed to to override
> any of the default config settings with distro specific values.

Ok, noted.

> For users running in web mode, an Apache HTTPD config snippet should
> be adding in /etc/httpd/conf.d. That should look something like this
> (for httpd 2.4 - the Require All Granted will be different on earlier
> version):
> 
>     WSGIDaemonProcess pgadmin processes=1 threads=25
>     WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi
> 
>     <Directory /opt/pgAdmin4/web>
>         WSGIProcessGroup pgadmin
>         WSGIApplicationGroup %{GLOBAL}
>         Require all granted
>     </Directory>

Done.

> Finally; are you building and including the docs? Their location will
> need to be in the config.

Done.

Thank you!

Cheers,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-12 08:56  Dave Page <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Dave Page @ 2016-09-12 08:56 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers

On Sun, Sep 11, 2016 at 10:01 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi,
>
> On Fri, 2016-09-09 at 11:26 +0100, Dave Page wrote:
>
>> For users to run in desktop mode, nothing else should be required,
>> except possibly a shortcut to the runtime executable.
>
> Any chance to add .desktop file to git, like we did for pgadmin3?

Sure - I'd want to put it alongside the spec file. Have you written one?

>> For all users, a config_distro.py file may be needed to to override
>> any of the default config settings with distro specific values.
>
> Ok, noted.
>
>> For users running in web mode, an Apache HTTPD config snippet should
>> be adding in /etc/httpd/conf.d. That should look something like this
>> (for httpd 2.4 - the Require All Granted will be different on earlier
>> version):
>>
>>     WSGIDaemonProcess pgadmin processes=1 threads=25
>>     WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi
>>
>>     <Directory /opt/pgAdmin4/web>
>>         WSGIProcessGroup pgadmin
>>         WSGIApplicationGroup %{GLOBAL}
>>         Require all granted
>>     </Directory>
>
> Done.
>
>> Finally; are you building and including the docs? Their location will
>> need to be in the config.
>
> Done.
>
> Thank you!

Cool - and, thank *you* :-)

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-12 10:42  Devrim Gündüz <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-12 10:42 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: pgadmin-hackers


Hi Dave,

On Mon, 2016-09-12 at 09:56 +0100, Dave Page wrote:
> > Any chance to add .desktop file to git, like we did for pgadmin3?
> 
> Sure - I'd want to put it alongside the spec file. Have you written one?

Just committed my version to pgrpms git:

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=ad00835b6bb3615eebde2f253ebef438d3c27d48

I replace PYTHONDIR and  PYTHONSITELIB within the spec file using sed, so that
the same desktop file can work on PY3 and PY2 environments.

Cheers,

-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-12 10:46  Dave Page <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 12+ messages in thread

From: Dave Page @ 2016-09-12 10:46 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers

On Mon, Sep 12, 2016 at 11:42 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi Dave,
>
> On Mon, 2016-09-12 at 09:56 +0100, Dave Page wrote:
>> > Any chance to add .desktop file to git, like we did for pgadmin3?
>>
>> Sure - I'd want to put it alongside the spec file. Have you written one?
>
> Just committed my version to pgrpms git:
>
> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=ad00835b6bb3615eebde2f253ebef438d3c27d48
>
> I replace PYTHONDIR and  PYTHONSITELIB within the spec file using sed, so that
> the same desktop file can work on PY3 and PY2 environments.


Awesome - thanks Devrim! I owe you a nice cool glass of spring water :-)

Let me know when packages available and ready to use, and I'll add a
page to the website to point people at them.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-16 08:17  Devrim Gündüz <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 2 replies; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-16 08:17 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: pgadmin-hackers


Hi,

On Mon, 2016-09-12 at 11:46 +0100, Dave Page wrote:
> 
> Awesome - thanks Devrim! I owe you a nice cool glass of spring water :-)

\o/ Can't wait ;)

> Let me know when packages available and ready to use, and I'll add a
> page to the website to point people at them.

They are currently available for 9.6 only, on yum.postgresql.org. All testing
has been good so far. Feel free to add info to pgadmin website. I am planning
to write a short blog post about that soon, about installation instructions,
running, etc.

Cheers,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-16 08:42  Seçkin Alan <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  1 sibling, 2 replies; 12+ messages in thread

From: Seçkin Alan @ 2016-09-16 08:42 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: Dave Page <[email protected]>; pgadmin-hackers

Hi Devrim,

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.6/pgadmin4/F-24/pgadmin4.deskt...

Could you look this file ?

this variable is incorrect
Name=pgAdmin III

Its should be
Name=pgAdmin 4
or
Name=pgAdmin IV

Thanks.

On Fri, Sep 16, 2016 at 11:17 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi,
>
> On Mon, 2016-09-12 at 11:46 +0100, Dave Page wrote:
>>
>> Awesome - thanks Devrim! I owe you a nice cool glass of spring water :-)
>
> \o/ Can't wait ;)
>
>> Let me know when packages available and ready to use, and I'll add a
>> page to the website to point people at them.
>
> They are currently available for 9.6 only, on yum.postgresql.org. All testing
> has been good so far. Feel free to add info to pgadmin website. I am planning
> to write a short blog post about that soon, about installation instructions,
> running, etc.
>
> Cheers,
> --
> Devrim GÜNDÜZ
> EnterpriseDB: http://www.enterprisedb.com
> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR



-- 
Seçkin ALAN
http://sckn.org


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-16 08:53  Dave Page <[email protected]>
  parent: Seçkin Alan <[email protected]>
  1 sibling, 0 replies; 12+ messages in thread

From: Dave Page @ 2016-09-16 08:53 UTC (permalink / raw)
  To: Seçkin Alan <[email protected]>; +Cc: Devrim Gündüz <[email protected]>; pgadmin-hackers

pgAdmin 4 is the correct speeling :-)

On Fri, Sep 16, 2016 at 9:42 AM, Seçkin Alan <[email protected]> wrote:
> Hi Devrim,
>
> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.6/pgadmin4/F-24/pgadmin4.deskt...
>
> Could you look this file ?
>
> this variable is incorrect
> Name=pgAdmin III
>
> Its should be
> Name=pgAdmin 4
> or
> Name=pgAdmin IV
>
> Thanks.
>
> On Fri, Sep 16, 2016 at 11:17 AM, Devrim Gündüz <[email protected]> wrote:
>>
>> Hi,
>>
>> On Mon, 2016-09-12 at 11:46 +0100, Dave Page wrote:
>>>
>>> Awesome - thanks Devrim! I owe you a nice cool glass of spring water :-)
>>
>> \o/ Can't wait ;)
>>
>>> Let me know when packages available and ready to use, and I'll add a
>>> page to the website to point people at them.
>>
>> They are currently available for 9.6 only, on yum.postgresql.org. All testing
>> has been good so far. Feel free to add info to pgadmin website. I am planning
>> to write a short blog post about that soon, about installation instructions,
>> running, etc.
>>
>> Cheers,
>> --
>> Devrim GÜNDÜZ
>> EnterpriseDB: http://www.enterprisedb.com
>> PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
>> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
>
>
> --
> Seçkin ALAN
> http://sckn.org



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-16 09:35  Devrim Gündüz <[email protected]>
  parent: Seçkin Alan <[email protected]>
  1 sibling, 0 replies; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-16 09:35 UTC (permalink / raw)
  To: Seçkin Alan <[email protected]>; +Cc: Dave Page <[email protected]>; pgadmin-hackers


Hi Seçkin,

On Fri, 2016-09-16 at 11:42 +0300, Seçkin Alan wrote:
> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/9.6/pgadm
> in4/F-
> 24/pgadmin4.desktop.in;h=362c0368fe54bd9b83fa55f57458af150d7d0942;hb=ad00835b
> 6bb3615eebde2f253ebef438d3c27d48
> 
> Could you look this file ?
> 
> this variable is incorrect
> Name=pgAdmin III
> 
> Its should be
> Name=pgAdmin 4
> or
> Name=pgAdmin IV

Good catch! Fixed, thanks!

Cheers,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-19 11:03  Dave Page <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  1 sibling, 1 reply; 12+ messages in thread

From: Dave Page @ 2016-09-19 11:03 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgadmin-hackers

On Fri, Sep 16, 2016 at 9:17 AM, Devrim Gündüz <[email protected]> wrote:
>
> Hi,
>
> On Mon, 2016-09-12 at 11:46 +0100, Dave Page wrote:
>>
>> Awesome - thanks Devrim! I owe you a nice cool glass of spring water :-)
>
> \o/ Can't wait ;)
>
>> Let me know when packages available and ready to use, and I'll add a
>> page to the website to point people at them.
>
> They are currently available for 9.6 only, on yum.postgresql.org. All testing
> has been good so far. Feel free to add info to pgadmin website. I am planning
> to write a short blog post about that soon, about installation instructions,
> running, etc.

https://www.pgadmin.org/download/linux4.php

How's that? If you have instructions, please send me text (or better
yet, a patch), and I'll add them.

Thanks!

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: Finalizing pgadmin4 RPM work
@ 2016-09-21 10:09  Devrim Gündüz <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 0 replies; 12+ messages in thread

From: Devrim Gündüz @ 2016-09-21 10:09 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: pgadmin-hackers


Hi Dave,

On Mon, 2016-09-19 at 12:03 +0100, Dave Page wrote:
> https://www.pgadmin.org/download/linux4.php
> 
> How's that? If you have instructions, please send me text (or better
> yet, a patch), and I'll add them.

I added packages for 9.4 and 9.5, too. Also wrote a basic blog post about this:

https://people.planetpostgresql.org/devrim/index.php?/archives/91-Installing-pgadmin4-to-Red-Hat,-Ce...

Cheers,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 12+ messages in thread


end of thread, other threads:[~2016-09-21 10:09 UTC | newest]

Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09 08:15 Finalizing pgadmin4 RPM work Devrim Gündüz <[email protected]>
2016-09-09 10:26 ` Dave Page <[email protected]>
2016-09-11 09:01   ` Devrim Gündüz <[email protected]>
2016-09-12 08:56     ` Dave Page <[email protected]>
2016-09-12 10:42       ` Devrim Gündüz <[email protected]>
2016-09-12 10:46         ` Dave Page <[email protected]>
2016-09-16 08:17           ` Devrim Gündüz <[email protected]>
2016-09-16 08:42             ` Seçkin Alan <[email protected]>
2016-09-16 08:53               ` Dave Page <[email protected]>
2016-09-16 09:35               ` Devrim Gündüz <[email protected]>
2016-09-19 11:03             ` Dave Page <[email protected]>
2016-09-21 10:09               ` Devrim Gündüz <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox