You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2014/02/05 19:45:02 UTC
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** open
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Wed Feb 05, 2014 06:44 PM UTC
**Owner:** nobody
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Dave Brondsema <br...@users.sf.net>.
- **status**: code-review --> in-progress
- **Comment**:
Looking real nice. I like how they SVN config options are a single dialog now. Sending back to add validation on the URL and SVN path inputs, so that project admins can only enter a URL (any protocl) and path, respectively.
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** in-progress
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Wed Mar 26, 2014 10:01 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Dave Brondsema <br...@users.sf.net>.
- **status**: code-review --> closed
- **Comment**:
Branches merged
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** closed
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Thu Mar 27, 2014 08:49 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
- **status**: in-progress --> code-review
- **Comment**:
`allura:cj/7134`
Added a config option to override the clone URL template
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** code-review
**Milestone:** forge-mar-21
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Thu Mar 20, 2014 08:01 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Dave Brondsema <br...@users.sf.net>.
- **Size**: --> 4
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** open
**Milestone:** forge-backlog
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Wed Feb 05, 2014 06:45 PM UTC
**Owner:** nobody
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
- **status**: in-progress --> code-review
- **Comment**:
`allura:cj/7134` (rebased and force-pushed)
`forgehg:cj/7134` (not updated)
Added validation.
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** code-review
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Thu Mar 27, 2014 03:09 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
Config for forge-allura.apache.org to enable auth for SCM:
In `/etc/apache2/sites-available/allura` add the following to both VirtualHost sections:
~~~~
::apache
SetEnv GIT_PROJECT_ROOT /var/local/repos/git
SetEnv GIT_HTTP_EXPORT_ALL
AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /var/local/repos/git/$1
AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /var/local/repos/git/$1
<LocationMatch "^/git/">
AddHandler mod_python .py
AuthType Basic
AuthName "Git Access"
PythonAccessHandler /var/local/allura/scripts/ApacheAccessHandler.py
PythonOption ALLURA_AUTH_URL https://forge-allura.apache.org/auth/do_login
PythonOption ALLURA_PERM_URL https://forge-allura.apache.org/auth/repo_permissions
PythonOption ALLURA_VIRTUALENV /var/local/env-allura
</LocationMatch>
ProxyPass /git/ !
ScriptAlias /git/ /usr/lib/git-core/git-http-backend/
~~~~
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** code-review
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Thu Mar 27, 2014 07:29 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
The git server is set up in Apache so you can now do anonymous clones of the repos, but pushing back up is disabled until we resolve [#6701]
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** open
**Milestone:** forge-mar-21
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Fri Mar 07, 2014 07:33 PM UTC
**Owner:** nobody
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Dave Brondsema <br...@users.sf.net>.
- **status**: code-review --> in-progress
- **QA**: Dave Brondsema
- **Comment**:
I initially thought this would be something only set by site admins, not individual projects, since the use-case is pretty small and it could introduce confusion. But perhaps it would be a useful general feature.
I get `AttributeError: clone_url` on existing tools with the new code.
The dialog should explain more of what this setting will do, especially since the average project probably won't need it. Something about overriding the remote URL for the checkout command that is displayed, and you only want to do this if you're mirroring a repo onto SITE NAME.
SVN tools already have an admin option to control a portion of the checkout URL (i.e. "trunk" or something). While it does seem that these two options work out ok (the new one overrides the prior) it might be nice if they could be either be combined or differentiated. I'd probably keep them separate I guess, since they serve separate purposes, but put more explanatory text on the prior option so that is more easily understood too.
ForgeHg tests need a trivial update too, specifically: `forgehg.tests.test_hg_app:TestHgApp.test_admin_menu`
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** in-progress
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Tue Mar 25, 2014 05:04 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
- **status**: open --> in-progress
- **assigned_to**: Cory Johns
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** in-progress
**Milestone:** forge-mar-21
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Mon Mar 17, 2014 10:06 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Cory Johns <ma...@users.sf.net>.
- **status**: in-progress --> code-review
- **Comment**:
`allura:cj/7134` (force-pushed)
`forgehg:cj/7134`
Fixed `AttributeError`, refactored to all use Checkout URL dialog, added explanation, and added tests to ForgeHg.
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** code-review
**Milestone:** forge-apr-4
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Wed Mar 26, 2014 06:40 PM UTC
**Owner:** Cory Johns
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #7134 Forking on forge-allura.apache.org should work
Posted by Dave Brondsema <br...@users.sf.net>.
- **Milestone**: forge-backlog --> forge-mar-21
---
** [tickets:#7134] Forking on forge-allura.apache.org should work**
**Status:** open
**Milestone:** forge-mar-21
**Labels:** asf
**Created:** Wed Feb 05, 2014 06:44 PM UTC by Dave Brondsema
**Last Updated:** Fri Mar 07, 2014 07:16 PM UTC
**Owner:** nobody
Users should be able to fork https://forge-allura.apache.org/p/allura/git/ Currently you can make a fork, but there's no way to get your code or to push it back. The 'allura' project on our server there is basically a readonly copy with pointers to https://git-wip-us.apache.org/repos/asf?p=incubator-allura.git
For forks (and any other type of local project on the server) to work, we could run git services on the allura-vm host. And probably need some code/config changes to support having a different checkout URL for the 'allura' repo vs other repos.
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.