FINAL REMINDER: Apache EU Roadshow 2018 in Berlin next week!

2018-06-06 Thread sharan

Hello Apache Supporters and Enthusiasts

This is a final reminder that our Apache EU Roadshow will be held in 
Berlin next week on 13th and 14th June 2018. We will have 28 different 
sessions running over 2 days that cover some great topics. So if you are 
interested in Microservices, Internet of Things (IoT), Cloud, Apache 
Tomcat or Apache Http Server then we have something for you.


https://foss-backstage.de/sessions/apache-roadshow

We will be co-located with FOSS Backstage, so if you are interested in 
topics such as incubator, the Apache Way, open source governance, legal, 
trademarks or simply open source communities then there will be 
something there for you too.  You can attend any of talks, presentations 
and workshops from the Apache EU Roadshow or FOSS Backstage.


You can find details of the combined Apache EU Roadshow and FOSS 
Backstage conference schedule below:


https://foss-backstage.de/schedule?day=2018-06-13

Ticket prices go up on 8th June 2018 and we have a last minute discount 
code that anyone can use before the deadline:


15% discount code: ASF15_discount
valid until June 7, 23:55 CET

You can register at the following link:

https://foss-backstage.de/tickets

Our Apache booth and lounge will be open from 11th - 14th June for 
meetups, hacking or to simply relax between sessions. And we will be 
posting regular updates on social media throughout next week so please 
follow us on Twitter @ApacheCon


Thank you for your continued support and we look forward to seeing you 
in Berlin!


Thanks
Sharan Foga, VP Apache Community Development

http://apachecon.com/

PLEASE NOTE: You are receiving this message because you are subscribed 
to a user@ or dev@ list of one or more Apache Software Foundation projects.





Re: [GSoC] [COMDEV-254] Allura - Personal Dashboard

2018-06-06 Thread Dave Brondsema
On 6/6/18 5:37 AM, Deshani Geethika wrote:
> Hi Dave,
> 
> I need some help in understanding an error related to test cases.
> 
> I was trying to write a test case to check the '/neighborhood' route in
> Allura/allura/tests/functional/test_root.py as below.
> 
> def test_neighborhood(self):
>> response = self.app.get('/neighborhood/')
> 
> 
> But I get the following error, when I run the above test case.
> 
> Traceback (most recent call last):
>>   File
>> "/home/deshani/env-allura/local/lib/python2.7/site-packages/nose/case.py",
>> line 197, in runTest
>> self.test(*self.arg)
>>   File
>> "/home/deshani/src/allura/Allura/allura/tests/functional/test_root.py",
>> line 58, in test_neighborhood
>> response = self.app.get('/neighborhood/')
>>   File "/home/deshani/src/allura/AlluraTest/alluratest/validation.py",
>> line 322, in get
>> resp = super(ValidatingTestApp, self).get(*args, **kw)
>>   File "/home/deshani/src/allura/AlluraTest/alluratest/validation.py",
>> line 269, in get
>> return super(PostParamCheckingTestApp, self).get(*args, **kwargs)
>>   File
>> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
>> line 756, in get
>> expect_errors=expect_errors)
>>   File
>> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
>> line 1118, in do_request
>> self._check_status(status, res)
>>   File
>> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
>> line 1154, in _check_status
>> res)
>> AppError: Bad response: 404 Not Found (not 200 OK or 3xx redirect for
>> http://localhost/neighborhood/)
> 
> 
> Can you help me to understand why this error comes up?
> 
> Regards!


Wow, this was a tricky one!  I was stumped about this for a while too.  Its
happening because of some helper code for tests, that is not very obvious.  In
Allura/allura/controllers/basetest_project_root.py a modified root controller is
used for tests, which makes some project & tool testing easier.  This controller
is used because test.ini specifies "override_root=basetest_project_root"

And then in this controller on line 71 there is a list of root controller
attributes that is hardcoded.  So you will have to add 'neighborhood' and
'dashboard' to that list.

I would also recommend adding a comment on the real RootController mentioning
the BasetestProjectRootController so that anyone else in the future who adds a
root url knows that they have to update the other place too.



-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
  <><


[allura:tickets] Re: #8203 Download button for a project

2018-06-06 Thread Dave Brondsema
It doesn't look like the markdown converter handles file:// links, sorry.  For 
security reasons I think both markdown and some browsers put restrictions on 
using file:// links.

You'll have to put the file on your webserver and have the webserver serve it 
(or try attaching it to a wiki page, etc, within Allura)


---

** [tickets:#8203] Download button for a project**

**Status:** open
**Milestone:** unreleased
**Created:** Tue Jun 05, 2018 11:59 AM UTC by Vrinda
**Last Updated:** Wed Jun 06, 2018 06:58 AM UTC
**Owner:** nobody


I am new to Apache Allura and am trying to set it up locally to host a few 
projects.
I have installed Allura platform on Ubuntu 16.04 by following the installation 
guide: 
https://forge-allura.apache.org/docs/getting_started/install_each_step.html
I could get the application server running and I am now able to create a new 
project. 
How do I create the 'Download' button using which I want to allow downloading 
of the executable of the project?

In the feature list : https://forge-allura.apache.org/p/allura/wiki/Features/, 
I can see under Documentation that this is possible using custom wiki macros?? 
How can I do this?


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Re: [GSoC] [COMDEV-254] Allura - Personal Dashboard

2018-06-06 Thread Deshani Geethika
Hi Dave,

I need some help in understanding an error related to test cases.

I was trying to write a test case to check the '/neighborhood' route in
Allura/allura/tests/functional/test_root.py as below.

def test_neighborhood(self):
> response = self.app.get('/neighborhood/')


But I get the following error, when I run the above test case.

Traceback (most recent call last):
>   File
> "/home/deshani/env-allura/local/lib/python2.7/site-packages/nose/case.py",
> line 197, in runTest
> self.test(*self.arg)
>   File
> "/home/deshani/src/allura/Allura/allura/tests/functional/test_root.py",
> line 58, in test_neighborhood
> response = self.app.get('/neighborhood/')
>   File "/home/deshani/src/allura/AlluraTest/alluratest/validation.py",
> line 322, in get
> resp = super(ValidatingTestApp, self).get(*args, **kw)
>   File "/home/deshani/src/allura/AlluraTest/alluratest/validation.py",
> line 269, in get
> return super(PostParamCheckingTestApp, self).get(*args, **kwargs)
>   File
> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
> line 756, in get
> expect_errors=expect_errors)
>   File
> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
> line 1118, in do_request
> self._check_status(status, res)
>   File
> "/home/deshani/env-allura/local/lib/python2.7/site-packages/webtest/app.py",
> line 1154, in _check_status
> res)
> AppError: Bad response: 404 Not Found (not 200 OK or 3xx redirect for
> http://localhost/neighborhood/)


Can you help me to understand why this error comes up?

Regards!

On Wed, May 30, 2018 at 8:37 PM Deshani Geethika 
wrote:

> Hi Dave,
>
> I've added the first merge request for Personal Dashboard. Please review
> it and let me know any improvements.
>
> Merge Request:
> https://forge-allura.apache.org/p/allura/git/merge-requests/255/
>
> Regards!
>
> On Wed, May 30, 2018 at 12:14 AM Dave Brondsema 
> wrote:
>
>> On 5/28/18 4:12 AM, Deshani Geethika wrote:
>> > Hi Dave,
>> >
>> > During last week I focused on learning frameworks and basics related to
>> > Allura and now I’m ready to add the first merge request of Personal
>> > Dashboard. When adding the merge request, should it be added to the
>> master
>> > branch of the remote?
>> >
>> > Regards!
>> >
>>
>> I would recommend making a new branch for each task you work on.  That
>> way you
>> can have multiple going at the same time, if they are not dependent on
>> each other.
>>
>> That will also let you keep master in sync with upstream master, and not
>> have
>> local changes in it.
>>
>>
>> --
>> Dave Brondsema : d...@brondsema.net
>> http://www.brondsema.net : personal
>> http://www.splike.com : programming
>>   <><
>>
>
>
> --
> *Deshani Geethika*
> Undergraduate at Department of Computer Science and Engineering
> Faculty of Engineering - University of Moratuwa Sri Lanka
> LinkedIn  | GitHub
>  | Mobile - +94776383034
>
>

-- 
*Deshani Geethika*
Undergraduate at Department of Computer Science and Engineering
Faculty of Engineering - University of Moratuwa Sri Lanka
LinkedIn  | GitHub
 | Mobile - +94776383034


[allura:tickets] #8203 Download button for a project

2018-06-06 Thread Vrinda
Okay thanks.
If I want to link to a file in the local server, what would be the syntax in 
wiki?

I tried this one, bit it wouldn't work:
[![Download](file:///home/blah/blah/image.jpeg)](file:///home//blah/blah//myExecutable.exe)


---

** [tickets:#8203] Download button for a project**

**Status:** open
**Milestone:** unreleased
**Created:** Tue Jun 05, 2018 11:59 AM UTC by Vrinda
**Last Updated:** Tue Jun 05, 2018 07:31 PM UTC
**Owner:** nobody


I am new to Apache Allura and am trying to set it up locally to host a few 
projects.
I have installed Allura platform on Ubuntu 16.04 by following the installation 
guide: 
https://forge-allura.apache.org/docs/getting_started/install_each_step.html
I could get the application server running and I am now able to create a new 
project. 
How do I create the 'Download' button using which I want to allow downloading 
of the executable of the project?

In the feature list : https://forge-allura.apache.org/p/allura/wiki/Features/, 
I can see under Documentation that this is possible using custom wiki macros?? 
How can I do this?


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.