subversion под виндой. ставил кто-нибудь?

Phoenix

что-то везде натыкаюсь на модули апача.
без него никак?

sinet

Тебе клиент или сервер?
Если клиент, то TortoiseSVN.

Geddi-S

Да, ставил svn в качестве службы, в инете где-то есть доки на эту тему.
И доступ потом через свой протокол svn://
Упд: ставил сервер.

salora

 
svnserve(8) svnserve(8)
NAME
svnserve - Server for the 'svn' repository access method
SYNOPSIS
svnserve [options]
DESCRIPTION
svnserve allows access to Subversion repositories using the svn network protocol. It can both run as a standalone server process, or it can run out of inetd. You
must choose a mode of operation when you start svnserve. The following options are recognized:
-d, --daemon
Causes svnserve to run in daemon mode. svnserve backgrounds itself and accepts and serves TCP/IP connections on the svn port (3690, by default).
--listen-port=port
Causes svnserve to listen on port when run in daemon mode.
--listen-host=host
Causes svnserve to listen on the interface specified by host, which may be either a hostname or an IP address.
--foreground
When used together with -d, this option causes svnserve to stay in the foreground. This option is mainly useful for debugging.
-i, --inetd
Causes svnserve to use the stdin/stdout file descriptors, as is appropriate for a daemon running out of inetd.
-h, --help
Displays a usage summary and exits.
-r root, --root=root
Sets the virtual root for repositories served by svnserve. The pathname in URLs provided by the client will be interpreted relative to this root, and will
not be allowed to escape this root.
-R --read-only
Force all write operations through this svnserve instance to be forbidden, overriding all other access policy configuration. Do not use this option to set
general repository access policy - that is what the conf/svnserve.conf repository configuration file is for. This option should be used only to restrict
access via a certain method of invoking svnserve - for example, to allow write access via SSH, but not via a svnserve daemon, or to create a restricted SSH
key which is only capable of read access.
-t, --tunnel
Causes svnserve to run in tunnel mode, which is just like the inetd mode of operation (serve one connection over stdin/stdout) except that the connection is
considered to be pre-authenticated with the username of the current uid. This flag is selected by the client when running over a tunnel agent.
--tunnel-user=username
When combined with --tunnel, overrides the pre-authenticated username with the supplied username. This is useful in combination with the ssh authorized_key
file's "command" directive to allow a single system account to be used by multiple committers, each having a distinct ssh identity.
-T, --threads
When running in daemon mode, causes svnserve to spawn a thread instead of a process for each connection. The svnserve process still backgrounds itself at
startup time.
-X, --listen-once
Causes svnserve to accept one connection on the svn port, serve it, and exit. This option is mainly useful for debugging.
Once the client has selected a repository by transmitting its URL, svnserve reads a file named conf/svnserve.conf in the repository directory to determine reposi-
tory-specific settings such as what authentication database to use and what authorization policies to apply. See the svnserve.conf(5) man page for details of that
file format.

igorpopkoff

Tortoise SVN ничего лишнего не требует. Выдаётся первой ссылкой по запросу svn for windows в гугле. Ты его пробовал спросить, прежде чем форум?

Nailgenuine

А чем так уж плох Апач?

Nailgenuine

Впрочем, вроде как можно и без него:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_ru/tsvn-serv...

Olenenok

ужос какой :o

Phoenix

вот это фигня ничего не говорит.
т.е. запускаешь её с параметрами
-d --root <путь к репозиторию>
она ничего не выводит и не завершается. прибивание окошка спасает

Olenenok

лол, а чего она должна говорить? или ты под вендой?

Irina22

хотя бы завершаться должна.
завершаешь её ctrl-c, и в памяти её уже нету
я под виндой.

SPARTAK3959

Это же сервер - он так и должен висеть. Если мешает окошко, то можно поискать запускалки приложений, которые его скрывают.

Phoenix

а в чём тогда сокровенный смысл слова "daemon" ?
такой запуск это прям противоположность

Phoenix

да он стоит.
но это клиент, как я понял :-[

kruzer25

Вообще, лобовой вариант - качаем халявную VirtualPC, в неё ставим как можно более лёгкий дистрибутив линукса, в него - обычную svn, создаём сеть между виртуальным линуксом и реальной виндой, и работаем.
Минусы - то, что это немного через жопу; то, что придётся немного потрахаться с линуксом; и то, что под это уйдёт некоторое количество места на винчестере и из оперативной памяти.

Irina22

да я нашёл. там по ссылке вверху всё делается через sc и опцию --service
ещё один идиотизм виндузятников
в ситаксисе комманды sc есть опции. Например binpath=. вот то равно, оно вшито в имя переменной, поэтому нужно писать слитно со словом, а вот параметр нужно писать через пробел.
правильно:
binpath= ass
неправильно:
binpath = ass
binpath=ass
из-за того, что последний неправильный пришлось долго вникать, что ж ему всё-таки не нравится

kruzer25

А что, читать не умеешь?
PENARTUR D:\Movies\Movies\The Village# sc create
DESCRIPTION:
     Creates a service entry in the registry and Service Database.
USAGE:
     sc <server> create [service name] [binPath= ] <option1> <option2>...
OPTIONS:
NOTE: The option name includes the equal sign.
     A space is required between the equal sign and the value.

 type= <own|share|interact|kernel|filesys|rec>
     (default = own)
 start= <boot|system|auto|demand|disabled|delayed-auto>
     (default = demand)
 error= <normal|severe|critical|ignore>
     (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash>
 obj= <AccountName|ObjectName>
     (default = LocalSystem)
 DisplayName= <display name>
 password= <password>
PENARTUR D:\Movies\Movies\The Village#

Irina22

и чё?
если б они на сайте где-нибудь в жопе написали про то, что третью с конца букву обязательно нужно написать 2 раза - типа оно стало бы очень логичным и правильным?

evgen5555

В линуксе есть команда dd, полная точно такого же идиотизма.

kruzer25

А ты откуда вообще узнал про эти параметры?
Я думал, что как раз из этого хелпа.

yolki

я ставил. не нужны тебе модули апача ;)
по какому-то странному стечению обстоятельств "последняя версия" не совпадает с "актуальной версией сервиса".
т.е. последняя - 1.4.6. доступный дистрибутив сервера имеет версию 1.4.5
ставится без проблем.
Оставить комментарий
Имя или ник:
Комментарий: