We recently downloaded CollabNet's Subversion server package with
Apache integration. Is LDAP support included in that package. It
didn't appear to be.
--
David Weintraub
qazw...@gmail.com
tion would be appreciated.
--
David Weintraub
qazw...@gmail.com
if not hundreds of plugins that
can run all sorts of third party integrations. Jenkins can integrate
with almost any defect tracking system, and dozens of development
tools.
--
David Weintraub
qazw...@gmail.com
commend against this. If a particular developer can't play nicely,
and breaks other people's locks, maybe that developer shouldn't be
working in that environment.
--
David Weintraub
qazw...@gmail.com
fy
your own diff and merge tools when you use Subversion. Find a good XML
diff and merge tool for these files.
--
David Weintraub
qazw...@gmail.com
..@nd.edu
> Notre Dame, IN 46556
>
> "Now, here, you see, it takes all the running you can do, to keep in
> the same place. If you want to get somewhere else, you must run at
> least twice as fast as that!"
> Lewis Carroll - Through the Looking Glass
>
>
--
David Weintraub
qazw...@gmail.com
If you need any further help,
contact me at da...@weintraub.name, and I'll see what I can do.
--
David Weintraub
qazw...@gmail.com
t; target cleans everything. There's a special
"BeforeClean" target that's called when the "clean" target is called.
You can add your own code here to clean up things that the default
"clean" target doesn't do.
--
David Weintraub
qazw...@gmail.com
es is slow and takes up a lot of space.
It gets to the point where your project is fighting a constant battle
with stability. We have a project with five copies of the same jar
file. Even worse, there are three completely separate versions of this
jar in our project with two different ones in the same e
nges, and you
need those changes, you can merge them into your copy. If you decide
that these changes should go back into the "reference", you can merge
your changes back into the "reference". This is what branching is for.
--
David Weintraub
qazw...@gmail.com
it-Kitchen-Sink-Hook. Yes, it's
a bit ironic, but it's easier to get to than my old Public Dropbox.
Please download the latest copy and let me know if there are any more
suggestions.
--
David Weintraub
qazw...@gmail.com
indows systems, the My Directory is a share. So, doing a checking out on a
network is not that rare and may be the only way you can do a check out.
--
David Weintraub
--
David Weintraub
qazw...@gmail.com
mpletes, Subversion gives me the MERGE error.
Someone suggested I try Mail::Sendmail. I chose Net::SMTP because
that's a standard Perl module, but if it doesn't work, I'll switch to
Mail::Sendmail.
--
David Weintraub
qazw...@gmail.com
n
Subversion runs the post-commit hook vs. when I run the same thing
from the command line?
--
David Weintraub
qazw...@gmail.com
n the two sites.
Since most people use the Subversion revision numbering as an
alternative to tags, the mismatch in revision numbers would be
unacceptable. And, the "svn logs" don't match, so it becomes difficult
to match the history.
--
David Weintraub
qazw...@gmail.com
Subversion, since the whole repository is revisioned, what would be
revision 6 of /module/trunk/build.xml in the U.S. could be revision 15
in India.
Any ideas?
--
David Weintraub
qazw...@gmail.com
alized repository and the control it
gives you. As I told one Git advocate. If you run an open source
project, and a million people have a copy of your repository, that's
good. If run a development shop building a proprietary trading
application for a large financial firm, and a million people
ir changes at the same time?
What if we skip the svnserve route and merely use the file://
protocol? Is this any safer?
--
David Weintraub
qazw...@gmail.com
s build artifacts. Jenkins automatically cleans out old builds
except those we marked as released.
--
David Weintraub
qazw...@gmail.com
ars ago, but no one pushed it. Now,
it's being pushed.
Thank you for your help.
--
David Weintraub
qazw...@gmail.com
omeone is in one domain or the other?
Do they need to prefix their login with the domain?
--
David Weintraub
qazw...@gmail.com
ags/PRODUCTION
This way, development is still straight forward, and you can even view
the history of what's in production via:
$ svn log %REPOS%/module/tags/PRODUCTION"
You'll see what release is in production, and the complete history of
all releases, when they were placed in production, etc.
--
David Weintraub
qazw...@gmail.com
n it on port 8080 and say
http://localhost:8080, but that's the only drawback. The user has full
control in starting and stopping Apache httpd and has full access to
the configuration.
--
David Weintraub
qazw...@gmail.com
timestamp in the .svn directory
was changed.
Some of this may change in Subversion 1.7 since each directory doesn't
have a .svn directory in it.
--
David Weintraub
qazw...@gmail.com
you can't use the "file" parameter. You use the
"match" parameter and provide it with a Perl regular expression like
this:
[property ALL MDL files need the property "svn:mime-type" on them]
match = \.mdl$
property = svn:mime-type
type = string
value = appl
y independently of the
others. It might work better than checking out proj in a sparse
checkout and working your way down to all of the trunks.
Completely untested, but you get the idea:
svn ls -R $URL | grep "/trunk/$" | while read directory
do
parent=$(dirname $directory)
mkdir
there a way to access svn data on the
> svn server without checking data out? I would need to create temporal tar'ed
> archive of a versioned directory that is then attached to a website. Both
> web- and svn-server are running on the same system.
>
> Thanks a lot for help.
> Be
On Wed, Aug 3, 2011 at 2:31 PM, Ray Rashif wrote:
> On 4 August 2011 01:59, David Weintraub wrote:
> Thanks guys. I'm just stupid. I've been going on and on about what we
> want to do, but I haven't even stated the obvious:
>
> * It's just about removin
tasks it can do is "ban" files based upon
their name (either regular expression or Ant glob). If a user adds a
file with a forbidden name, the commit is rejected and the user is
informed of the offending file. The user has to remove the file from
their commit and try again.
--
David Weintraub
qazw...@gmail.com
;svn cleanup' to remove locks (type 'svn help cleanup' for details)
Well, the repository is locked because another user is in the middle
of a commit transaction, and you're attempting to do another commit.
Although it is a post-commit hook, and the repository is already
modified, the commit is still going on.
See:
<http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn.reposadmin.create.hooks>
for more information.
--
David Weintraub
qazw...@gmail.com
involved with the software you're producing (for example,
it's all scripting or webpages). That's because a continuous build
server can do more than build the software. It can deploy to
production, check the code for formatting, and run unit tests. It can
then return the results to the developer.
--
David Weintraub
qazw...@gmail.com
/\.svn(/|$)
In SVN 1.7 clients, this will no longer be an issue since
subdirectories in the working directory won't have the .svn files in
them anymore.
--
David Weintraub
qazw...@gmail.com
On Thu, Jul 21, 2011 at 12:47 PM, Andreas Krey wrote:
> On Thu, 21 Jul 2011 11:06:00 +0000, David Weintraub wrote:
>> I have a pre-commit hook that allows you to set a directory as
>> "add-only". This was mainly for the tags directory. You can create a
>> tag
more object oriented and allows you to
use LDAP groups for file permissioning. However, this link is to the
old tried and true version.
<http://db.tt/H3o1i7S>
You'll need Perl on your Subversion repository server to run this, but
you shouldn't need any optional CPAN modules.
--
David Weintraub
qazw...@gmail.com
roll your own security scheme that some paid-by-the-hour consultant
has invented. I had to do this back when Subversion was at revision
1.3.x. I simply had a crontab that rebuilt the passwd file every few
minutes based upon the password and accounts that other mechanism
used.
--
David Weintraub
qazw...@gmail.com
the 1.6.x branch.
>
> David Weintraub wrote on Wed, Jul 13, 2011 at 17:47:34 -0400:
>> Just downloaded Subversion 1.6.17 from CollabNet (for Mac OS X 10.6)
>> and had the same issue. I'll try it in Windows.
>>
>> --
>> David Weintraub
>> qazw...@gmail.com
>
--
David Weintraub
qazw...@gmail.com
Just downloaded Subversion 1.6.17 from CollabNet (for Mac OS X 10.6)
and had the same issue. I'll try it in Windows.
--
David Weintraub
qazw...@gmail.com
" instead, so apparently this
wasn't the first time I ran into this issue.
Hmmm. April of this year? It looks like I replaced the version of
Subversion that came on the Mac with CollabNet's version. I'm
downloading the Snow Leopard (Intel only) version. It's version
1.6.17. Maybe that'll take care of the issue.
--
David Weintraub
qazw...@gmail.com
svn propget does. In fact:
> $ svn propget -r2 foo file://$PWD/svn_repos/trunk
> bar
Does exactly what I think it should.
Am I missing something. Did I do something wrong. Or is there an issue
with the svnlook command?
I need this for a Subversion hook, so using svn instead of svnlook is
not a possibility.
--
David Weintraub
qazw...@gmail.com
d link type and create exactly
what you need.
--
David Weintraub
qazw...@gmail.com
g the TAB key
> 5. info command to invoke svn info on a repository file or dir
> 6. log command to invoke svn log on a repository file or dir
> 7. a simple find command
>
> Is there anything out there like this? I have not found anything in my web
> searches so far. If not, any suggestions on what to use as a good starting
> point?
>
> Best regards,
>
> Rick Varney
--
David Weintraub
qazw...@gmail.com
e if that helps.
--
David Weintraub
qazw...@gmail.com
r you got?
Normally, doing a rollback via Merge doesn't cause any issues unless
you're attempting to roll back something other than the previous
revision.
--
David Weintraub
qazw...@gmail.com
nto the warfile. All you need is a JRE,
and the Windows MSI file comes with that.
--
David Weintraub
qazw...@gmail.com
2.2.3.1.2 of foo.java
has been approved" Q module/main/java/foo.java
$ svn copy -r2339 -m"Revision #2339 of 'foo.java" has been
approved" http://svn/repository/module/trunk/main/java/foo.java
http://svn/repository/module/tags/Q/src/main/java/foo.java
In fact, Subversion has a big advantage over CVS if you insist on
doing this. In Subversion, you can get the history of the changes to
your "Q" tag:
$ svn log http://svn/repository/module/tags/Q/src/main/java/foo.java
This wil list all of the revisions ever tagged as "Q" for "foo.java".
It will list the dates when that tag was applied, who applied that
tag, and their comment. There's no way to do this in standard CVS.
--
David Weintraub
qazw...@gmail.com
files to the tag
directory one at a time. When a file gets approved, you "tag" it. It's
not the standard way to do it, but I've seen shops that do.
Even better, Subversion tracks when things were tagged and branched.
In CVS, you have no idea when a tag or a branch was created and
applied.
--
David Weintraub
qazw...@gmail.com
s from adding Maven built artifacts to our
repository.
--
David Weintraub
qazw...@gmail.com
riented, there's ScitTE (
http://www.scintilla.org/SciTE.html). And a great Notepad replacement is
Notepad++ (http://notepad-plus-plus.org/). It provides a very similar
looking Notepad like interface, but understands line and file endings.
--
David Weintraub
qazw...@gmail.com
;
> Is there a way to disable this or do I have to run a dos2unix script after
> every commit to remove them?
--
David Weintraub
qazw...@gmail.com
e script itself, and can be generated
via the "perldoc" command. See the comments on the very top of the file.
Even if you don't use this script, it does show you how to do notifications
in Subversion and shows you the basic technique.
--
David Weintraub
qazw...@gmail.com
On Thu, Jan 13, 2011 at 11:37 AM, Daniel Shahaf wrote:
> David Weintraub wrote on Thu, Jan 13, 2011 at 11:19:54 -0500:
>> Are you using file:// URLs? You should either be using svnserve or
>> Apache httpd as your Subversion server. Fortunately, you can easily do
>> that
On Thu, Jan 13, 2011 at 11:29 AM, Daniel Shahaf wrote:
> David Weintraub wrote on Thu, Jan 13, 2011 at 11:02:02 -0500:
>> Basically, we're just a bunch of Subversion users who support each
>> other.
>
> There are a few Subversion developers here too :)
>
Very true.
I've never done it myself. I'd
say give it a try and report back how it works. This is usually
something that the defect tracking system does quite well, but maybe
embedding this in the Subversion logs might prove useful.
--
David Weintraub
qazw...@gmail.com
to add another project.
> Unfortunately I think the original repo creation command
> should have been:
> svnadmin create /srv/svn
>
> My problem is that cfg should be a project within the repo
> and now I want to add another project, i.e.
> /srv/svn/cfg
> /srv/svn/pxe
>
> What is the best way to move things around ?
>
> Rgds/Alan
>
--
David Weintraub
qazw...@gmail.com
committing their changes.
Your developers need to be in the habit of testing any changes before
committing them to the project. If your developers aren't thoroughly
testing their code before they commit their changes, no number of
pre-commit hooks will help.
--
David Weintraub
qazw...@gmail.com
your system to kill whatever process is holding
that file or directory open and then open up a command line prompt and
delete via the "rd /s/q" command. You can see that via the Task
Manager.
--
David Weintraub
qazw...@gmail.com
t out the file size of all the files you're attempting
to commit, and then fail the hook since the hook always exits with a
exit code of 1.
When you attempt to commit, you should see a failed commit and a bunch
of lines telling you the file size of each file. If not, you'll get a
better idea what the problem might be.
--
David Weintraub
qazw...@gmail.com
which would be closer
to the truth. I'm assuming something like this would come up if User A left,
and someone has to check in the work User A did.
--
David Weintraub
qazw...@gmail.com
en the best bet is to
use a post-commit hook that'll update a file or database with the
information you want.
--
David Weintraub
qazw...@gmail.com
elements in status reports, and
if you do a massive add, they won't get added. It is still possible for
someone to purposefully add them back into your Subversion repository.
2. If you have such a pre-commit trigger, set it so you can't add
directories called "target" to your Subversion repository.
Once you've completed all of these steps, I recommend that you delete the
project in Eclipse and recheck it out, and make sure you can build it and
everything works.
--
David Weintraub
qazw...@gmail.com
pulling it out of the keychain.
You can manipulate the keychain from the command line with /usr/bin/security.
--
David Weintraub
qazw...@gmail.com
e directories with the "?" before we do
another commit. you can use the "svn add" command. The "svn add" will
recurse automatically through the directories and add in any sub directories
and files.
7). Now commit once more. Your workspace should be clean. There are no m
x27;t in the file being committed, but is
located elsewhere.
* Most importantly, you'll make your life a lot easier. All you have to do
is write the tests and not worry about how you'll run the tests, or how
you'll get the output from the tests.
It is definitely possible to do what you want, but it will take a lot of
work and will probably cause more problems than it is worth..
--
David Weintraub
qazw...@gmail.com
on-web/src/main/webapp
> ? recursos-revision-web/src/main/java/ec
> A .settings
> A .settings/org.eclipse.jdt.core.prefs
> A .settings/org.maven.ide.eclipse.prefs
>
> The command was run on the projects base directory.
>
> -Original Message-
>
project from the Subversion
repository, run tests, and then report back the results.
Moving your testing to Hudson will simplify your life and help keep a
running record of your test results. Hudson won't interfere with
Test::Builder and Test::More, and you'll be able to keep the test res
t who can help you out, but you might have to ask at an Eclipse
support site.
So, run the "svn status" command and show us the output. It'll allow us to
more easily identify the issues you're having.
--
David Weintraub
qazw...@gmail.com
from one directory to another, or did
you use the Subversion commands to do this?
--
David Weintraub
qazw...@gmail.com
; or a "svn import", so
it won't automatically add properties when you branch.
--
David Weintraub
qazw...@gmail.com
CollabNet which had commercial interests in
Subversion. Yet, no one complained about CollabNet "dominating" the
project.
I hope that WANdisco is able to fix many of the issues that have been
plaguing Subversion for years. I don't believe that those who are
leading Subversion
wn hook script. Fortunately, it isn't too
difficult -- especially since you're just checking for a very simple
thing. Do you see an "A' transaction where the from is from the
confidential directory and the "to" is to the branches directory? If
so, fail the transaction.
--
David Weintraub
qazw...@gmail.com
when an external can’t be resolved
> because access to the external repo is denied.
>
>
>
> I would welcome any advice on this problem.
>
>
>
> BR
>
>
>
> David
--
David Weintraub
qazw...@gmail.com
I'm not spending 8 hours each day
pestering developers and trying to fix broken merges, I can do all the other
CM things I never had time to do. Since then, I've been an advocate of
the Benign Neglect school of CM management: Do things the easy way. The
simpler the better. Why branch? Be happy!
--
David Weintraub
qazw...@gmail.com
to modify a release branch. This is
mainly to prevent whoops scenarios. For example, a developer
forgetting to "svn switch" from the branch to the trunk before they
continue their development work.
--
David Weintraub
qazw...@gmail.com
)
That'll get the files out of the main project tree, prevent further
changes in the code, yet still allow the developers to examine the
code and reminisce about the good ol' days when men were men and UUCP
was king.
--
David Weintraub
qazw...@gmail.com
ay:
file: **/tags/**
access: read-only
users: @ALL
file: **/tags/*
access: add-only
users: @ALL
The first prevent users from modifying any files under "tags", and the
second permits copying directories only directly under the "tags" directory
which is what you'd do
keep
the scanned archive on Hudson itself.
It'll. take a bit of tweaking, but so would trying this in Subversion. And,
you and your users would be much happier with this arrangement.
--
David Weintraub
qazw...@gmail.com
hol/VSS, you've lost great friends/ highly regarded
co-workers, and it will take years to recover and get your
life/project back on track.
There will be times when everything looks hopeless and you fall into a
deep abyss of depression and you think whether or not abandoning
Alcohol/VSS is worth it. But, you take it one day at a time. You turn
to a higher authority (God/ISO 9000) to guide you.
--
David Weintraub
qazw...@gmail.com
he access control database changes the
access control in Subversion.
And, it really shouldn't be that difficult to do.
--
David Weintraub
qazw...@gmail.com
f "grep"
$ svn ls -R svn://svnserver/repo | find "LoginInterceptor.c"
--
David Weintraub
qazw...@gmail.com
e
same repository as the master project.
The svn:externals seemed like such a good idea when I first heard of
Subversion, but I quickly discovered that it can be very difficult to
implement correctly.
--
David Weintraub
qazw...@gmail.com
r most
> things based on SysV's cron.
It is true if the System Administrator permits it. This is
configurable on a per user basis -- either the user is in cron.allow
or cron.deny. If neither of these files exist, it is most likely you
don't have cron permissions.
Our System Admin doesn&
nd easiest thing to document. Hudson gives us some reporting
and emailing capabilities built into the system.
--
David Weintraub
qazw...@gmail.com
deas of any software that can handle this.
Again, sorry about bothering the list about what probably is a
non-Subversion question. (Then again, Subversion might be exactly what
I need if we can overcome some of the other issues I mentioned).
However, I know many of you have had similar circumstances and I hope
you can shed some light on this issue.
--
David Weintraub
qazw...@gmail.com
ty for his company, or simply give up on the
dream to convert everything inside his repository.
--
David Weintraub
qazw...@gmail.com
few other nice tricks. The hook is designed to use
only the standard Perl modules which makes it easier to install. You
can get that from <http://dl.dropbox.com/u/433257/new_svn_hooks.zip>.
--
David Weintraub
qazw...@gmail.com
about all those old branches? You can delete them when they
become obsolete. When do they become obsolete? When there are no more
customers on a particular release, and you won't have to do a patch.
--
David Weintraub
qazw...@gmail.com
ed to trust open source tools. Subversion was a
fairly new project. There were a lot of companies offering proprietary
version control tools. Now, even major banks are jumping on the open
source bandwagon and its gettng harder and harder to find people who
know these tools.
--
David Weintraub
qazw...@gmail.com
systems.
Do you have any post-commit hooks? If you are, are the messages being
generated by Subversion or the post commit hooks?
--
David Weintraub
qazw...@gmail.com
lp in as a way of paying back the help we
previously had.
And, if you do use Subversion, I highly recommend keeping your
subscription on this list. It's a great way to learn about Subversion,
its problems, and the best ways to use it.
Sorry I couldn't be any more help.
--
David Weintraub
qazw...@gmail.com
k into the trunk.
You'll have to use the --reintegrate option in "svn merge", or do what
many sites do, and don't bother with merging. If you have a defect
tracking tool like Jira which allows you to assign a defect to
multiple releases, you simply use that tool to show that a change took
place on both branch and trunk.
--
David Weintraub
qazw...@gmail.com
new employees to support.
The last option will take more work in the long run, and in the end,
you'll end up with a bunch of unhappy users.
--
David Weintraub
qazw...@gmail.com
(except for a few bytes for
referencing the move). When you say you can't "reorganize", do you
mean you'd like to except there's too much to do, or that your
repository is the way your users want it?
--
David Weintraub
qazw...@gmail.com
So, exactly what are you asking for?
I have a file /foo/bar/barfoo/bar.java.
You want the entire history of a file called "bar.java" in the path
/foo/bar/barfoo from revision #1 to the current revision -- even
though it isn't the same bar.java at that location?
Is this corr
slow. Can't
remember the name off hand.
For Mac OS X, there's SCPlugin which works with Finder. I use Path
Finder (a Finder replacement) and it comes with its own Subversion
browser.
--
David Weintraub
qazw...@gmail.com
scovered what a mess they can create. I
now take the approach of thinking of my externals as "releasable
components" that are also versioned and released, and I put them into
a release repository where various projects can import a specific
revision of that component. This makes it much easier for developers
to track what particular version of that component they're using.
--
David Weintraub
qazw...@gmail.com
rnal project. The only
thing I can think of is to run the "svn propget" on the entire
repository and parse the output.
--
David Weintraub
qazw...@gmail.com
t to the trunk, no merging
will be done at all.
Once the release is out, that branch may never be used again. It just
sits there until someone one day decides to delete it. It's not a fork
because all of the code on it is already on the trunk. It's just a
dead end branch.
--
David Weintraub
qazw...@gmail.com
th's charred remains and finds your
source repository should see the same set of files tagged as
REL-1.0.1 that you did the day you created that REL-1.0.1 tag.
--
David Weintraub
qazw...@gmail.com
h to
run svnserve on my machine.
Have the svnserve and httpd processes owned by the same user and drop file:///
access. Then chown the files to that user and set permissions on all files to
664.
--
David Weintraub
da...@weintraub.name
Sent from my iPhone while riding in my Ferrari. (Jealous?)
ming changes just to munge the $Date$
keyword.
However, if you must use RCS keywords, you can modify a property that
will force a diff in the file without modifying the file itself.
--
David Weintraub
qazw...@gmail.com
1 - 100 of 237 matches
Mail list logo