Branch: refs/heads/replace_tf_in_commands
Home: https://github.com/jenkinsci/tfs-plugin
Commit: 802f8f4f039b75c2d4875869c22e75119b986090
https://github.com/jenkinsci/tfs-plugin/commit/802f8f4f039b75c2d4875869c22e75119b986090
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/DeleteWorkspaceCommand.java
M src/main/java/hudson/plugins/tfs/commands/NewWorkspaceCommand.java
M src/main/java/hudson/plugins/tfs/model/Workspaces.java
M src/test/java/hudson/plugins/tfs/commands/DeleteWorkspaceCommandTest.java
M src/test/java/hudson/plugins/tfs/commands/NewWorkspaceCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspacesTest.java
Log Message:
-----------
Upgrade [New|Delete]WorkspaceCommand.
Four tests no longer applied and were deleted, and two more were added.
Commit: 9b7f786b871434aefa103265b58d0170a731486f
https://github.com/jenkinsci/tfs-plugin/commit/9b7f786b871434aefa103265b58d0170a731486f
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/ListWorkspacesCommand.java
M src/test/java/hudson/plugins/tfs/commands/ListWorkspacesCommandTest.java
Log Message:
-----------
TDD: logWithNoWorkspaces
Commit: f6d9ae7e32dcf7d066bf9413e894686a3985664a
https://github.com/jenkinsci/tfs-plugin/commit/f6d9ae7e32dcf7d066bf9413e894686a3985664a
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/ListWorkspacesCommand.java
M src/test/java/hudson/plugins/tfs/commands/ListWorkspacesCommandTest.java
Log Message:
-----------
TDD: logWithOneWorkspace
Commit: 862cb591bef6d79c7935d8bdc11ae96b2a041d0c
https://github.com/jenkinsci/tfs-plugin/commit/862cb591bef6d79c7935d8bdc11ae96b2a041d0c
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/test/java/hudson/plugins/tfs/commands/ListWorkspacesCommandTest.java
Log Message:
-----------
Add logWithManyWorkspaces test.
Commit: c1812f21014c3232ddb204a021dd811d86cfe776
https://github.com/jenkinsci/tfs-plugin/commit/c1812f21014c3232ddb204a021dd811d86cfe776
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/ListWorkspacesCommand.java
M src/main/java/hudson/plugins/tfs/model/MockableVersionControlClient.java
M src/main/java/hudson/plugins/tfs/model/Server.java
M src/main/java/hudson/plugins/tfs/model/Workspaces.java
M src/test/java/hudson/plugins/tfs/commands/ListWorkspacesCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspacesTest.java
Log Message:
-----------
Upgrade ListWorkspacesCommand.
A few tests no longer applied, most were adapted with minimal changes
and a few new ones were added, although unfortunately the
soapextensions.Workspace class is final (could not be mocked) and the two
tests that create an instance had to become integration tests because
they [briefly] connect to TFS.
Commit: 45c72ca483283c1cd5d71f7dcb3d2a6d8fe0b951
https://github.com/jenkinsci/tfs-plugin/commit/45c72ca483283c1cd5d71f7dcb3d2a6d8fe0b951
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
R src/main/java/hudson/plugins/tfs/commands/GetWorkspaceMappingsCommand.java
M src/main/java/hudson/plugins/tfs/model/Workspace.java
R
src/test/java/hudson/plugins/tfs/commands/GetWorkspaceMappingsCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspaceTest.java
Log Message:
-----------
Remove unused GetWorkspaceMappingsCommand[Test].
Commit: 60d37b6b8da54fa422c9c204025d96bb7db3aaff
https://github.com/jenkinsci/tfs-plugin/commit/60d37b6b8da54fa422c9c204025d96bb7db3aaff
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/test/java/hudson/plugins/tfs/FunctionalTest.java
Log Message:
-----------
Work around the test being too fast!
Commit: 5ffa562b0d0b476b73ed4baae8645b24641e4c8d
https://github.com/jenkinsci/tfs-plugin/commit/5ffa562b0d0b476b73ed4baae8645b24641e4c8d
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/actions/CheckoutAction.java
M src/main/java/hudson/plugins/tfs/model/Project.java
M src/test/java/hudson/plugins/tfs/actions/CheckoutActionTest.java
Log Message:
-----------
Extract maxCount as a parameter.
This should help make it explicit that we're potentially downloading a
whole lot of history.
Commit: a7d9289e282503995df11d1e6e34f319594a9c7d
https://github.com/jenkinsci/tfs-plugin/commit/a7d9289e282503995df11d1e6e34f319594a9c7d
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/TeamFoundationServerScm.java
M src/main/java/hudson/plugins/tfs/model/Project.java
Log Message:
-----------
Add getLatestChangeset() method for polling.
We really just want to know what the latest changeset is, to compare
against the baseline. This also is explicit that we need very few
details and that we only download the 1, latest item.
Commit: f74c9a3c740e519c71d1e10e5b9a5c7f06c0b2d3
https://github.com/jenkinsci/tfs-plugin/commit/f74c9a3c740e519c71d1e10e5b9a5c7f06c0b2d3
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
R
src/main/java/hudson/plugins/tfs/commands/WorkspaceChangesetVersionCommand.java
M src/main/java/hudson/plugins/tfs/model/Project.java
R
src/test/java/hudson/plugins/tfs/commands/WorkspaceChangesetVersionCommandTest.java
M src/test/java/hudson/plugins/tfs/model/ProjectTest.java
Log Message:
-----------
Delete unused WorkspaceChangesetVersionCommand.
It was probably obsoleted once a workspace was no longer required for
polling.
Commit: bdba53dfbe6878fd34ad0c9e9e8d621d2853546c
https://github.com/jenkinsci/tfs-plugin/commit/bdba53dfbe6878fd34ad0c9e9e8d621d2853546c
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
R
src/main/java/hudson/plugins/tfs/commands/AbstractChangesetVersionCommand.java
M
src/main/java/hudson/plugins/tfs/commands/RemoteChangesetVersionCommand.java
M src/main/java/hudson/plugins/tfs/model/Project.java
Log Message:
-----------
Inline AbstractChangesetVersionCommand.
There was only one subclass left, so it didn't make sense to keep the
extra abstraction.
Commit: 89dc80a0cdf406d88ade9afb9a34e8b86d33d564
https://github.com/jenkinsci/tfs-plugin/commit/89dc80a0cdf406d88ade9afb9a34e8b86d33d564
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/model/Project.java
Log Message:
-----------
Increase visibility of method for re-use.
Commit: d83854601e915bd32d56e23f0ec1dca86268137f
https://github.com/jenkinsci/tfs-plugin/commit/d83854601e915bd32d56e23f0ec1dca86268137f
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M
src/main/java/hudson/plugins/tfs/commands/RemoteChangesetVersionCommand.java
M src/main/java/hudson/plugins/tfs/model/Project.java
M
src/test/java/hudson/plugins/tfs/commands/RemoteChangesetVersionCommandTest.java
Log Message:
-----------
Upgrade RemoteChangesetVersionCommand.
Commit: cc26fb443d7a79ea7445cc4e5f382bb3f279d901
https://github.com/jenkinsci/tfs-plugin/commit/cc26fb443d7a79ea7445cc4e5f382bb3f279d901
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java
M
src/test/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommandTest.java
Log Message:
-----------
Remove unused preview flag.
It was always false except for one test.
Commit: 7efc7c4a52628183a32391d98ee5f829f7ec72fd
https://github.com/jenkinsci/tfs-plugin/commit/7efc7c4a52628183a32391d98ee5f829f7ec72fd
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java
M
src/test/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommandTest.java
Log Message:
-----------
Switch to Server and add "final".
Commit: 9a1032b4dd417cfd63bf0d36388fa3a98e3493b2
https://github.com/jenkinsci/tfs-plugin/commit/9a1032b4dd417cfd63bf0d36388fa3a98e3493b2
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java
M src/main/java/hudson/plugins/tfs/model/Project.java
M
src/test/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommandTest.java
Log Message:
-----------
Remove constructor overload without versionSpec.
It was only ever used in tests.
Commit: 17a7c3f9f4f1425229d2c9bb9ef520f6dfdb2f84
https://github.com/jenkinsci/tfs-plugin/commit/17a7c3f9f4f1425229d2c9bb9ef520f6dfdb2f84
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/model/Project.java
M src/test/java/hudson/plugins/tfs/model/ProjectTest.java
Log Message:
-----------
Delete overload used only in tests.
Commit: 99716578ba8c670573cfb23d3b7693a2e4d5378e
https://github.com/jenkinsci/tfs-plugin/commit/99716578ba8c670573cfb23d3b7693a2e4d5378e
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommand.java
R src/main/java/hudson/plugins/tfs/commands/ParseableCommand.java
M
src/test/java/hudson/plugins/tfs/commands/GetFilesToWorkFolderCommandTest.java
Log Message:
-----------
parse() only used by tests; no uses of PC<T> left.
Project.getFiles() discards the results of the
GetFilesToWorkFolderCommand and thus the interface implementation
wasn't [any longer] necessary, and since we removed the last
implementation, the ParseableCommand<T> interface wasn't necessary.
Commit: fbbf60f2b36e09b73c60b78fe349ce3c267110ee
https://github.com/jenkinsci/tfs-plugin/commit/fbbf60f2b36e09b73c60b78fe349ce3c267110ee
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/model/MockableVersionControlClient.java
Log Message:
-----------
Add methods to MockableVersionControlClient.
Commit: 3e63c17d1e4a9d6a9a9623268e4163a1721aee8b
https://github.com/jenkinsci/tfs-plugin/commit/3e63c17d1e4a9d6a9a9623268e4163a1721aee8b
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/actions/CheckoutAction.java
M src/test/java/hudson/plugins/tfs/actions/CheckoutActionTest.java
Log Message:
-----------
Add determineCheckoutPath() method with tests.
Commit: 85001aece713005d36617ecfffb49b6936e52857
https://github.com/jenkinsci/tfs-plugin/commit/85001aece713005d36617ecfffb49b6936e52857
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/test/java/hudson/plugins/tfs/actions/CheckoutActionTest.java
Log Message:
-----------
Relax some mock verifications.
Commit: 7d43de1a6c62b094059ea0ccdc5ff8668c23daee
https://github.com/jenkinsci/tfs-plugin/commit/7d43de1a6c62b094059ea0ccdc5ff8668c23daee
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/actions/CheckoutAction.java
Log Message:
-----------
Normalize the checkout path before getFiles().
This makes it so the TFVC checkout will always receive an explicit
path, reducing ambiguity.
Commit: cab19cc81564323ac7584e46859238cb91c364a5
https://github.com/jenkinsci/tfs-plugin/commit/cab19cc81564323ac7584e46859238cb91c364a5
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/MapWorkfolderCommand.java
M src/test/java/hudson/plugins/tfs/commands/MapWorkfolderCommandTest.java
Log Message:
-----------
Remove constructor used only in a single test.
Commit: b7c67f5672a26e50bc6a5447da2f212f6757c596
https://github.com/jenkinsci/tfs-plugin/commit/b7c67f5672a26e50bc6a5447da2f212f6757c596
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/commands/MapWorkfolderCommand.java
M src/test/java/hudson/plugins/tfs/commands/MapWorkfolderCommandTest.java
Log Message:
-----------
Accept Server and mark arguments as final.
Commit: df6d41b615a288d4e12a8e8f856e4d59cf2dd4d4
https://github.com/jenkinsci/tfs-plugin/commit/df6d41b615a288d4e12a8e8f856e4d59cf2dd4d4
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
R src/main/java/hudson/plugins/tfs/commands/UnmapWorkfolderCommand.java
M src/main/java/hudson/plugins/tfs/model/Workspace.java
R src/test/java/hudson/plugins/tfs/commands/UnmapWorkfolderCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspaceTest.java
Log Message:
-----------
Unmapping a workfolder was only called in tests.
Commit: e87008cf8cab8bad60e2c86de1cb148b79ca7926
https://github.com/jenkinsci/tfs-plugin/commit/e87008cf8cab8bad60e2c86de1cb148b79ca7926
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M src/main/java/hudson/plugins/tfs/actions/CheckoutAction.java
M src/main/java/hudson/plugins/tfs/commands/NewWorkspaceCommand.java
M src/main/java/hudson/plugins/tfs/model/Workspaces.java
M src/test/java/hudson/plugins/tfs/actions/CheckoutActionTest.java
M src/test/java/hudson/plugins/tfs/commands/NewWorkspaceCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspacesTest.java
Log Message:
-----------
Add workfolder mapping in workspace creation.
These used to be done separately due to the use of the CLC, but now it
makes more sense to just call map() on the workspace we just created,
instead of discarding said instance and later searching for it.
Commit: fc11d2766f04f8e8a777f06668d21cc380d670e9
https://github.com/jenkinsci/tfs-plugin/commit/fc11d2766f04f8e8a777f06668d21cc380d670e9
Author: Oli Dagenais <[email protected]>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
R src/main/java/hudson/plugins/tfs/commands/MapWorkfolderCommand.java
M src/main/java/hudson/plugins/tfs/model/Workspace.java
M src/test/java/hudson/plugins/tfs/actions/CheckoutActionTest.java
R src/test/java/hudson/plugins/tfs/commands/MapWorkfolderCommandTest.java
M src/test/java/hudson/plugins/tfs/model/WorkspaceTest.java
Log Message:
-----------
Delete MapWorkfolderCommand; only used by tests.
Compare:
https://github.com/jenkinsci/tfs-plugin/compare/21ab7fbf6c54...fc11d2766f04
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.