Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1] 2
Author Topic: SVN not working
Oskitar198-
1
Newbie
Posts: 2
Permalink
Post SVN not working
on: February 28, 2016, 02:51
Quote

Hi all!

I can´t compile DebWrt for my device because svn.openwrt.org connection is always refused, i think isn´t working anymore, what can i do now?

svn: E000111: Unable to connect to a repository at URL 'svn://svn.openwrt.org/openwrt/tags/attitude_adjustment_12.09'
svn: E000111: Can't connect to host 'svn.openwrt.org': Connection refused
make: *** [openwrt/checkout] Error 1

🙁

Thank you

amain
Administrator
Posts: 222
Permalink
Post Re: SVN not working
on: February 28, 2016, 13:21
Quote

Hi,

OpenWrt SVN server is still down. For now I suggest to use a mirror, In DebWRt's .config change:

CONFIG_OPENWRT_SVN_REPO_URL="svn://svn.openwrt.org/openwrt"
to
CONFIG_OPENWRT_SVN_REPO_URL="https://github.com/openwrt-mirror/openwrt"

Note that mirror on github only seems to have openwrt trunk, not attitude adjustment.

Hopefully OpenWrt SVN is going to be fixed any time soon. Otherwise DebWrt will need to be patched to use OpenWrt's git repo instead.

Regards,

Johan

Oskitar198-
1
Newbie
Posts: 2
Permalink
Post Re: SVN not working
on: February 28, 2016, 14:01
Quote

Quote from amain on February 28, 2016, 13:21
Hi,

OpenWrt SVN server is still down. For now I suggest to use a mirror, In DebWRt's .config change:

CONFIG_OPENWRT_SVN_REPO_URL="svn://svn.openwrt.org/openwrt"
to
CONFIG_OPENWRT_SVN_REPO_URL="https://github.com/openwrt-mirror/openwrt"

Note that mirror on github only seems to have openwrt trunk, not attitude adjustment.

Hopefully OpenWrt SVN is going to be fixed any time soon. Otherwise DebWrt will need to be patched to use OpenWrt's git repo instead.

Regards,

Johan

Thank you Johan!

amain
Administrator
Posts: 222
Permalink
Post Re: SVN not working
on: February 28, 2016, 16:59
Quote

Welcome. B.t.w I just committed a patch with a range of changes required for the DebWrt buildbot setup. Part of that is a small change that allows selecting the github OpenWrt mirror via make menuconfig.

EHeM
Advanced
Posts: 58
Permalink
Post Re: SVN not working
on: February 29, 2016, 08:09
Quote

From the repository logs it looks like OpenWRT transitioned to using `git` as their core source control system a while ago. I suspect they've been using `svn2git`, `git-svn` or other such tool to keep Subversion access available for some time. Given the situation, it may be best for DebWRT to transition to `git` in the near future too.

This of course means having to adjust various bits of DebWRT scripting to work with `git`. This shouldn't be too difficult, but will require adjustments in various places.

EHeM
Advanced
Posts: 58
Permalink
Post Re: SVN not working
on: February 29, 2016, 09:12
Quote

On a bit further investigation, it looks like there might still be a Subversion server somewhere within the OpenWRT organization. May instead be behavior of git-svn continuing to output Subversion versions in the log, but might not be.

There is also the question of, should DebWRT move to `git` (or some other revision control system)?

One question that immediately pops up, how does one find out whether a given commit is present in a git working area? `git log` has the effect of giving this information in all the output, but I really need a command to ask whether commit <some-id> is present. I suspect this is some set of arguments to `git rev-list`, but I don't yet have something that can be scripted.

amain
Administrator
Posts: 222
Permalink
Post Re: SVN not working
on: February 29, 2016, 19:34
Quote

OpenWrt is in the middle of some migration which is done in spare time. So it might take a while before they are up again. Hopefully they migrate the public SVN as well.

DebWrt itself is not moving to git or any other system any time soon. SVN does its jobs just fine.

Git does not include a unique revision number, like SVN is using. So lets hope that OpenWrt is keeping SVN up and running. I'd rather spend time on other DebWrt improvements then scm system changes.

EHeM
Advanced
Posts: 58
Permalink
Post Re: SVN not working
on: March 2, 2016, 02:52
Quote

Git does not include a unique revision number, like SVN is using. So lets hope that OpenWrt is keeping SVN up and running. I'd rather spend time on other DebWrt improvements then scm system changes.

I think the writing is on the wall OpenWRT will be moving to exclusively move to git at some point. This may only be in the distant future, but I think the time to start doing research on how to replace scripts is now.

I'm pretty sure git should have some command-line invocation to ask it whether the current setup is before or after a given commit. I doubt this is complicated since it is a common task, I just haven't found it yet.

amain
Administrator
Posts: 222
Permalink
Post Re: SVN not working
on: March 3, 2016, 20:33
Quote

Well, if you have a patch 🙂

amain
Administrator
Posts: 222
Permalink
Post Re: SVN not working
on: March 4, 2016, 16:20
Quote

Moved to git after all; building from SVN broken due to OpenWrt change requiring .git/directory. Trunk contains the changes.

Pages: [1] 2
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.034 seconds.