Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425056 - GSoC 2012 gentoostats: Deploy the gentoostats webapp
Summary: GSoC 2012 gentoostats: Deploy the gentoostats webapp
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL: https://github.com/gg7/gentoostats_se...
Whiteboard:
Keywords:
: 408943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-06 12:45 UTC by Vikraman (RETIRED)
Modified: 2018-08-01 08:36 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
apache config (00_gentoostats.conf,145 bytes, text/plain)
2012-09-05 11:19 UTC, Vikraman (RETIRED)
Details
wsgi (wsgi.py,295 bytes, text/plain)
2012-09-05 11:19 UTC, Vikraman (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vikraman (RETIRED) gentoo-dev 2012-07-06 12:45:54 UTC
George (gg7) is working on the gentoostats project. He has rewritten the webapp in django, and it is ready to be deployed. He doesn't have a shell account on vulture yet.


Reproducible: Always




We need dev-python/django, dev-python/django-extensions, and a mysql/postgresql database.
Comment 1 Alec Warner archtester Gentoo Infrastructure gentoo-dev Security 2012-07-06 14:03:46 UTC
Are we doing this in the same way we did yours (you commit to git, the webapp is updated 20-30 minutes later?

I need an ssh pubkey from george for his shell access.

-A
Comment 2 G. Gaydarov 2012-07-06 23:24:51 UTC
(In reply to comment #1)
> Are we doing this in the same way we did yours (you commit to git, the
> webapp is updated 20-30 minutes later?

Sounds good to me.

> I need an ssh pubkey from george for his shell access.

I just emailed it to you.

Regards,
George
Comment 3 Theo Chatzimichos (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-08-01 11:07:20 UTC
meanwhile, the account has been created by me
Comment 4 Vikraman (RETIRED) gentoo-dev 2012-09-04 08:59:20 UTC
GSoC is over, and gg7 has done a pretty good job with it. Can we move on with the deployment?
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-09-04 14:09:52 UTC
(In reply to comment #4)
> GSoC is over, and gg7 has done a pretty good job with it. Can we move on
> with the deployment?

Indeed! We can. Is there instructions to deploy somewhere (just git pull?) ? Where is the git repo? Vague requests take forever to get done, just the way it is...
Comment 6 Vikraman (RETIRED) gentoo-dev 2012-09-04 18:38:19 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > GSoC is over, and gg7 has done a pretty good job with it. Can we move on
> > with the deployment?
> 
> Indeed! We can. Is there instructions to deploy somewhere (just git pull?) ?
> Where is the git repo? Vague requests take forever to get done, just the way
> it is...

The git repo is linked in the url: https://github.com/gg7/gentoostats_server

Instructions are on the README.

Is this going to be done on vulture, or should we move it somewhere more permanent?
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2012-09-04 20:09:24 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > GSoC is over, and gg7 has done a pretty good job with it. Can we move on
> > > with the deployment?
> > 
> > Indeed! We can. Is there instructions to deploy somewhere (just git pull?) ?
> > Where is the git repo? Vague requests take forever to get done, just the way
> > it is...
> 
> The git repo is linked in the url: https://github.com/gg7/gentoostats_server
> 
> Instructions are on the README.

The README.md just says emerge the pre-reqs, it doesn't say how to actually deploy it? Like I said, vague things won't really get done.

> 
> Is this going to be done on vulture, or should we move it somewhere more
> permanent?

CNAMEs are easy to change, it shouldn't really matter WHERE it is deployed, right? Do you have some special requirements that I do not know of?
Comment 8 Vikraman (RETIRED) gentoo-dev 2012-09-05 11:16:59 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > GSoC is over, and gg7 has done a pretty good job with it. Can we move on
> > > > with the deployment?
> > > 
> > > Indeed! We can. Is there instructions to deploy somewhere (just git pull?) ?
> > > Where is the git repo? Vague requests take forever to get done, just the way
> > > it is...
> > 
> > The git repo is linked in the url: https://github.com/gg7/gentoostats_server
> > 
> > Instructions are on the README.
> 
> The README.md just says emerge the pre-reqs, it doesn't say how to actually
> deploy it? Like I said, vague things won't really get done.

With mod_wsgi. There's an example wsgi.py in the gentoostats/ directory. Depending on it's path, sys.path may need to be changed.

We also need a database, preferably mysql or postgresql. The details of that go into settings.py.

> 
> > 
> > Is this going to be done on vulture, or should we move it somewhere more
> > permanent?
> 
> CNAMEs are easy to change, it shouldn't really matter WHERE it is deployed,
> right? Do you have some special requirements that I do not know of?

Well, I thought vulture was only for hosting projects during gsoc. If it works, then fine.
Comment 9 Vikraman (RETIRED) gentoo-dev 2012-09-05 11:19:24 UTC
Created attachment 322988 [details]
apache config
Comment 10 Vikraman (RETIRED) gentoo-dev 2012-09-05 11:19:59 UTC
Created attachment 322990 [details]
wsgi
Comment 11 Alex Legler (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-08-19 13:50:59 UTC
*** Bug 408943 has been marked as a duplicate of this bug. ***
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-11-10 22:29:48 UTC
vikraman:
what is the status of gentoostats regarding newer versions of Django?
https://docs.djangoproject.com/en/1.8/releases/1.7/#backwards-incompatible-changes-in-1-7
https://docs.djangoproject.com/en/1.8/releases/1.8/#backwards-incompatible-changes-in-1-8

It is presently running on vulture on 1.6, and we need to upgrade to 1.8 for security reasons.

Alternatively, if you're ok with simply shutting down the instance on vulture, please let us know ASAP.

If there is no response by 2015/11/13, infra will simply be turning off the application and removing django entirely from vulture.
Comment 13 Vikraman (RETIRED) gentoo-dev 2015-11-10 23:42:27 UTC
Neither of us is working on this now, please just shut it down.
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-11-10 23:50:51 UTC
Closing request.
Comment 15 Göktürk Yüksek gentoo-dev 2017-01-02 09:37:24 UTC
Reopening per the launch of the Gentoostats project. Please advise me on what's needed to deploy the software. I am making this request for the version located in https://gitweb.gentoo.org/proj/gentoostats.git/. I wasn't aware of the GSoC 2012 version of gentoostats until today, and I'm not sure why it's not hosted on infra. For now, can we deploy the old version?
Comment 16 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2018-08-01 07:52:48 UTC
Göktürk Yüksek: do you still need a server for gentoostats?
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-08-01 08:36:34 UTC
No, we won't deploy the old version unless someone does a proper audit and finally brings the real discussion to the mailing lists.