subversion-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko Čibej (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (SVN-4789) Support GitHub's broken Subversion bridge
Date Tue, 18 Dec 2018 23:52:00 GMT

     [ https://issues.apache.org/jira/browse/SVN-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Branko Čibej resolved SVN-4789.
-------------------------------
    Resolution: Won't Fix
      Assignee:     (was: Branko Čibej)

As of today (note the '{{DAV: 1}}' header in the response from GitHub):
{noformat}
$ curl -i -X OPTIONS -H 'Host: github.com' -H 'User-Agent: SVN/1.11.0' -H 'Content-Type: text/xml'
-H 'DAV: http://subversion.tigris.org/xmlns/dav/svn/depth' -H 'DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo'
-H 'DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops' --data-raw '<?xml version="1.0"
encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set></D:activity-collection-set></D:options>'
https://github.com/apache/httpd/trunk/
HTTP/1.1 200 OK
Date: Tue, 18 Dec 2018 23:48:55 GMT
Status: 200 OK
Content-Type: text/xml; charset="utf-8"
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT,MKCOL
DAV: 1
Content-Length: 203
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-GitHub-Request-Id: F196:7905:C014020:10C2A5B1:5C198766

<?xml version="1.0" encoding="utf-8"?>
<D:options-response xmlns:D="DAV:">
  <D:activity-collection-set>
    <D:href>/apache/httpd/!svn/act/</D:href>
  </D:activity-collection-set>
</D:options-response>
{noformat}


> Support GitHub's broken Subversion bridge
> -----------------------------------------
>
>                 Key: SVN-4789
>                 URL: https://issues.apache.org/jira/browse/SVN-4789
>             Project: Subversion
>          Issue Type: New Feature
>          Components: libsvn_ra_serf
>    Affects Versions: 1.11.0
>            Reporter: Branko Čibej
>            Priority: Major
>         Attachments: github-request-id.patch
>
>
> TL;DR: GitHub's Subversion bridge does not return the required "{{DAV:}}" header in responses,
so the Subversion client from 1.11.0 onwards refuses to connect to it.
> See [this mail thread|https://lists.apache.org/thread.html/90c028421ac86f787c2101ab61a70ec5fa0a6f4d617a8b87be802e5c@%3Cusers.subversion.apache.org%3E]
on users@.
> Also see [this mail thread|https://lists.apache.org/thread.html/5254c3eaa06c194e6e2a9d22f976a4c65dde98c95a1c1af606d81e3e@%3Cdev.subversion.apache.org%3E]
on dev@.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message