端口转发解决位于Squid等代理后无法从SVN server ci 的问题

发现只能co,不能ci
TortoiseSVN报MKACTIVITY…400 bad request

Google之后发现问题所在
http://subversion.tigris.org/faq.html#proxy
只要在我的svn主机前的squid里加上下面这行配置就ok
extension_methods REPORT MERGE MKACTIVITY CHECKOUT

但是我接触不到squid
于是用了ssh的端口转发
Dev SVN Server
localhost:8000 localhost:80
URL of Repository从原来的
http://svnserver.xxx.net/repos/Projectname
变成
http://localhost:8000/repos/Projectname

问题解决
比原来不方便的一点是要开着secure crt或者其他工具维持端口转发
一点额外的好处是安全性–SSH

威信网安招聘高级软件开发工程师

Help shape the security process management system!

Our company is focused on fulfilling the mission of enabling businesses throughout the world to realize their full potential by manage the security processes. We develop the high scalable, high stable security online services, and are looking to hire passionate and dedicated people to work on significant future releases.

As the senior SDE, you will be responsible for the work on future versions of technology for Windows, Linux, and mobile devices. Help design and implement next-generation scan engine features, create an extensible service platform, and help define the user experience for the security process. You will provide technical direction, mentoring, and leadership to other team members through difficult processes or new approaches; identify and solve complex problems; help design, spec, schedule, and implement quality components and features; make implementation trade-offs; write tight code; debug existing code; work efficiently with other disciplines, and in a self-directed manner; and participate in the hiring process.

Qualification

At least one full software product life cycle (> 3-person project)

Strong C/C++ development and debugging skills with solid background in CS or related areas

Strong server experience including .NET, C#, SQL, and security

Good communication skills

Independent ability to quickly come up to speed on new technologies and unfamiliar code

Passion for the user experience and customer satisfaction

A BA/BS in Computer Science or related technical discipline is required

Pluses

High scalable and stable server experience with C#

Contact us

Dongsheng Plaza Office Tower B #906

No.8 ZhongGuanCun East

Haidian District

Beijing, P.R.China

E-mail: [email protected]
]]>

期待lighttpd 1.5.x

TODOS

1.5.x is meant to

* fix internals which are blocking us from moving forward.  

* do big changes that can't be done on 1.4.x-stable branch.  

* merge most if not all duplicated code, which helps a lot on code maintaining/improving   

the list below is meant for discussion.

* combine mod_fastcgi, mod_cgi, mod_scgi and mod_proxy into mod_proxy_core and protocols around it. They all cut'n'pasted from mod_fastcgi anyway.  

      o the core provides  

            + config handling  

            + connect/retry on failure  

            + fork/restart worker child on dead. (easier to improve native win32 support)  

            + balancing  

            + x-sendfile   

      o the protocol backends take care of  

            + preparing the environment (most cgi env code can be shared)  

            + encode/decode data  

            + handle io   

* introduce a new io-subsystem which allows filtering content incoming and outgoing data  

      o mod_uploadprogress can track the progress of an upload  

      o mod_deflate can compress content  

      o mod_multiplex can reroute content to other connections  

      o mod_layout can replace tags in the outgoing stream  

      o consider support for asynchronous file io (most likely emulated using threads rather than native aio calls)   

* make the core aware of max-workers  

      o combines server-status  

      o synchroniced logfiles  

      o perhaps make it memcache/shm/mmap based for cluster-wide stats   

* combine most of config handling into core, including:  

      o alloc/free plugin data  

      o init default values  

      o insert values from config (into plugin data)  

      o patch(pick) values from plugin data for connection. this is done by calling a function ptr, but we can kill the string comparisons, lower or higher performance?   

* apply %n to other config option. (such as document root. user might get confused what do or doesn't support %n, but it's seems hard to apply all the options.)  

* find a way to solve module order problem:  

      o sort the "user enabled module" by the builtin "ordered module list", but 3rd party module have no luck on this way.  

      o or add more "handling stages", and depends on "stage order" instead of "module order". this is a bit too complex.  

      o or ... (and your solution here)                ]]>

多个Project的trac/subversion/apache2 架设

cd /opt/repos

svnadmin create Akantos

svnadmin create test

chown -R www-data:www-data /opt/repos

cd /opt/trac

trac-admin /opt/repos/Akantos initenv

trac-admin /opt/repos/test initenv

chown -R www-data:www-data /opt/trac

moonlight:~# cat /etc/apache2/conf.d/trac.conf

Alias /trac/chrome/common /usr/share/trac/htdocs

Order allow,deny  

Allow from all  

ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi

SetEnv TRAC_ENV “/opt/trac/“

SetEnv TRAC_ENV_PARENT_DIR "/opt/trac"  

设置Trac用户验证

AuthType Basic  

AuthName "Mars Trac Server"  

AuthUserFile /etc/apache2/trac.passwd  

# trac.passwd文件用htpasswd2命令生成  

Require valid-user  

moonlight:~# cat /etc/apache2/mods-enabled/dav_svn.conf

DAV svn

SVNParentPath /opt/repos

AuthType Basic

AuthName “MicroInfo Repository”

AuthUserFile /etc/apache2/dav_svn.passwd

Require valid-user

AuthzSVNAccessFile /etc/apache2/dav_svn.authz

moonlight:~# cat /etc/apache2/dav_svn.authz

[groups]

manager = feuvan

[/]

@manager = rw

  • =

[Akantos:/]

[test:/]

  • = rw ]]>

svn may breaks after BDB upgrade

所以不要看到升级就把老的package purge掉

feuvan@moonlight:~$ aptitude show db4.2-util

Package: db4.2-util

State: installed

Automatically installed: no

Version: 4.2.52-24

Priority: optional

Section: utils

Maintainer: Debian Berkeley DB Maintainers

Uncompressed Size: 217k

Depends: libc6 (>= 2.3.5-1), libdb4.2

Description: Berkeley v4.2 Database Utilities

This package provides different tools for manipulating databases in the Berkeley v4.2 database format, and includes:

  • db4.2_archive: write the pathnames of the log files no longer in use.

  • db4.2_checkpoint: daemon process to monitor the database log and checkpoint it periodically.

  • db4.2_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.

  • db4.2_load: loads (and creates) a database from standard input.

  • db4.2_dump: read a database file and write it in a format understood by

  • db4.2_printlog: dump log files in human readable format.

  • db4.2_stat: display statistics for Berkeley DB environments.

  • db4.2_upgrade: upgrades the version of files and the databases they contain.

  • db4.2_verify: check the structure of files and their databases.

Tags: interface::commandline, role::sw:utility, use::checking, use::viewing, works-with::db

feuvan@moonlight:~$ aptitude show db4.3-util

Package: db4.3-util

State: not installed

Version: 4.3.29-5

Priority: optional

Section: utils

Maintainer: Debian Berkeley DB Maintainers

Uncompressed Size: 279k

Description: Berkeley v4.3 Database Utilities

This package provides different tools for manipulating databases in the Berkeley v4.3 database format, and includes:

  • db4.3_archive: write the pathnames of the log files no longer in use.

  • db4.3_checkpoint: daemon process to monitor the database log and checkpoint it periodically.

  • db4.3_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.

  • db4.3_load: loads (and creates) a database from standard input.

  • db4.3_dump: read a database file and write it in a format understood by

  • db4.3_printlog: dump log files in human readable format.

  • db4.3_stat: display statistics for Berkeley DB environments.

  • db4.3_upgrade: upgrades the version of files and the databases they contain.

  • db4.3_verify: check the structure of files and their databases.

Tags: interface::commandline, role::sw:utility, use::checking, use::viewing, works-with::db

feuvan@moonlight:~$ aptitude show db4.4-util

Package: db4.4-util

New: yes

State: not installed

Version: 4.4.20-4

Priority: optional

Section: utils

Maintainer: Debian Berkeley DB Maintainers

Uncompressed Size: 258k

Depends: libc6 (>= 2.3.5-1), libdb4.4

Description: Berkeley v4.4 Database Utilities

This package provides different tools for manipulating databases in the Berkeley v4.4 database format, and includes:

  • db4.4_archive: write the pathnames of the log files no longer in use.

  • db4.4_checkpoint: daemon process to monitor the database log and checkpoint it periodically.

  • db4.4_deadlock: traverse the database environment lock region and abort lock requests when a deadlock is detected.

  • db4.4_load: loads (and creates) a database from standard input.

  • db4.4_dump: read a database file and write it in a format understood by

  • db4.4_printlog: dump log files in human readable format.

  • db4.4_stat: display statistics for Berkeley DB environments.

  • db4.4_upgrade: upgrades the version of files and the databases they contain.

  • db4.4_verify: check the structure of files and their databases. ]]>