Commit Graph

7071 Commits

Author SHA1 Message Date
Olivier Lamy 1574f226f7 site not in user.home
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550716 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:51:02 +00:00
Olivier Lamy 03e4af2199 fix svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550715 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:47:08 +00:00
Olivier Lamy 2f0bdcd434 add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550712 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:42:44 +00:00
Olivier Lamy dd88b05d08 add documentation for file locking
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550711 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:42:34 +00:00
Olivier Lamy 9696e056a1 mark locking as experimental
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550709 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:33:44 +00:00
Olivier Lamy 4803f6be06 [MRM-1702] make the locking configurable via the UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550708 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:33:35 +00:00
Olivier Lamy 3e91228d28 try creating the file before the lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550648 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:31:21 +00:00
Olivier Lamy a597458ba9 track FileNotFoundException if a concurrent thread delete the file before locking and try recreate it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550647 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:31:13 +00:00
Olivier Lamy 76d1127f8b skip locking true per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550644 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:04:27 +00:00
Olivier Lamy e1c3663b01 use a concurrent map to handle file lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550641 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:36 +00:00
Olivier Lamy a903627323 fix rat and naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550640 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:24 +00:00
Olivier Lamy 679725dd5d file lock manager must be configurable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550639 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:10 +00:00
Olivier Lamy 49c91d619d add missing @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550638 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:54 +00:00
Olivier Lamy e48c05fb6f add note on possible improvments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550637 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:45 +00:00
Olivier Lamy 06cb9ea4f9 [MRM-1702] use the fileLockLManager in the code with possible race condition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550636 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:36 +00:00
Olivier Lamy c3ba717d4c expose how to skip locking mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550635 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:12 +00:00
Olivier Lamy 94db08374c spring 3.2.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550583 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 23:12:54 +00:00
Olivier Lamy 62fd82d3c2 fix osgi
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550563 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:39 +00:00
Olivier Lamy 79329d262e fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:34 +00:00
Olivier Lamy 7fc6fb2158 add class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550561 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:24 +00:00
Olivier Lamy 3e344bc827 throw a timeout exception if not possible to get the lock after the timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550560 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:16 +00:00
Olivier Lamy 4f4e15568d fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550559 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:05 +00:00
Olivier Lamy a724876adf license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:58 +00:00
Olivier Lamy 7f1ddf0b2f fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550557 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:48 +00:00
Olivier Lamy 875890880a cleanup this file locking library
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550556 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:40 +00:00
Olivier Lamy 6b23332e9d add a new module for file locking
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550396 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 11:26:40 +00:00
Olivier Lamy 074386d154 dependencies not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550044 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:40:15 +00:00
Olivier Lamy 664497ee03 use constant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550043 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:40:08 +00:00
Olivier Lamy 8039adacd0 not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550042 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:39:59 +00:00
Olivier Lamy 2260b8e867 [MRM-589] use last plexus-utils 3.0.15
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549807 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 11:03:32 +00:00
Olivier Lamy 128efac707 prevent casting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549740 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 02:03:04 +00:00
Olivier Lamy c413114392 jackrabbit 2.6.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549739 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 02:02:56 +00:00
Olivier Lamy 10ee64b488 add comment on logging mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549733 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 01:30:00 +00:00
Olivier Lamy 3ee1c5f9ff cleanup logging on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549732 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 01:29:51 +00:00
Olivier Lamy d1de91d824 use a temporary redirect for SNAPSHOT download
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549551 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:27 +00:00
Olivier Lamy ab7ef5c73f configure redirect type temporary or permanently
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549550 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:18 +00:00
Olivier Lamy 06d67e89c9 add the class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549549 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:11 +00:00
Olivier Lamy 3f90ad3744 finally use a relocation for MRM-1761
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:02 +00:00
Olivier Lamy 4b7ba850f4 remove non used code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549546 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:21:45 +00:00
Olivier Lamy 5e491265be exclude test repo files from rat
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549545 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:21:36 +00:00
Olivier Lamy 69fad2da3e [MRM-1761] add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549544 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:21:30 +00:00
Olivier Lamy cc94843a8d [MRM-1761] add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549543 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:21:16 +00:00
Olivier Lamy 449de093e2 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549370 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 02:47:18 +00:00
Olivier Lamy 74e63f4bbb oups compilation fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549369 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 02:47:05 +00:00
Olivier Lamy b256625132 [MRM-1761] Returned URL in search result does not work for SNAPSHOTS
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549368 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 02:46:56 +00:00
Olivier Lamy 978ab1446b avoid magic number
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547969 13f79535-47bb-0310-9956-ffa450edef68
2013-12-05 00:03:48 +00:00
Olivier Lamy 0796f03885 more use of fest assert
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547966 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:56:13 +00:00
Olivier Lamy 155a90a5d2 fix my bad!!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547963 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:31:33 +00:00
Olivier Lamy 0ced29e3c4 [MRM-1795] window.archivaRuntimeInfo.version is null in archiva/archiva.js
add a null check!

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547956 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:06:16 +00:00
Olivier Lamy afa6d89293 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547784 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 12:13:15 +00:00