Commit Graph

53 Commits

Author SHA1 Message Date
Maria Odea B. Ching 46fbfa0fd1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593451 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:32:31 +00:00
Maria Odea B. Ching 68ec920cd9 [maven-release-plugin] prepare release archiva-1.0-beta-4
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593449 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:30:01 +00:00
Maria Odea B. Ching 352479d4c9 - Updated repository purge tests to reflect the changes made in r592297 as suggested in the dev list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593081 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 09:03:44 +00:00
Maria Odea B. Ching c7cd97bf16 [MRM-576]
- modified logic for deleting released snapshots, delete only if there exists a released version of that snapshot not when there is a 
higher released/snapshot version
- adjusted tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592657 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 09:02:58 +00:00
Maria Odea B. Ching 293bd8e2f2 [MRM-556]
- respect set retention count when purging by number of days old (used same logic for purging by retention count)
- updated edit managed repository validation for the number of days old minimum range
- adjusted DaysOldRepositoryPurgeTest for the changes


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592297 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 06:16:12 +00:00
Joakim Erdfelt baf4c89435 [MRM-547] proxy connectors: cache failures options are confusing
[MRM-549] proxy connectors: no "always" option for releases and snapshots policies
Applying changes to policy naming per decisions made in dev@archiva mailing list.
Updating DefaultArchivaConfiguration.load() to automatically adjust old configuration settings to new values.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590908 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 06:21:26 +00:00
Maria Odea B. Ching 0561ccc53d [MRM-544]
- remove artifact in index if artifact no longer exists in the file system
- added tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590622 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 11:07:24 +00:00
Maria Odea B. Ching 76ca3a6797 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:18:56 +00:00
Maria Odea B. Ching 7cde1cdf00 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589970 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:16:21 +00:00
Brett Porter 5445c18888 update TODO
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589528 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 07:10:39 +00:00
Maria Odea B. Ching 2395fea5f0 [MRM-454]
-synchronized the index operations in LuceneRepositoryContentIndex (used 'repository' as the lock) to avoid index locking
-added method for deleting artifacts from the index during repository purge
-updated repository purge tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588598 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 10:36:48 +00:00
Maria Odea B. Ching c5f4e5079b -Reverted version to 1.0-beta-3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 08:54:24 +00:00
Brett Porter 19afbc4ac8 [MRM-546] restore correct test data and fix configuration modifications
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587071 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 12:37:25 +00:00
Maria Odea B. Ching d2ceac7b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586989 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:56:59 +00:00
Maria Odea B. Ching 44c44aa4f1 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:54:10 +00:00
Brett Porter d271660cc6 [MRM-555] scanner checks timestamps, but some consumers will want to consume artifacts regardless
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:43:26 +00:00
Joakim Erdfelt aa9ef1d3e6 Re-enabling tests now that MRM-535 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586636 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 22:53:53 +00:00
Joakim Erdfelt 5242d36ec9 Cleaning up potential multi-threading issues with use of static SimpleDateFormat.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586472 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:21:13 +00:00
Joakim Erdfelt 766b613044 Removing unused pieces.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585586 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:28:01 +00:00
Joakim Erdfelt 46f7d825da Fixed unit tests for RepositoryPurge as they were non-repeatable in an IDE environment.
Corrected the assumption that a Managed Repository is the same as a Local Repository. (re: maven-metadata-local.xml)
Streamlined asserts to be more clear .assertExists() .assertDeleted() when reading code and when error message is created.
Removed jdom direct usage in unit tests in favor of XMLUnit.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584213 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 17:49:40 +00:00
Joakim Erdfelt e799f29dc2 Removing usage of old layout objects.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583625 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 21:42:03 +00:00
Joakim Erdfelt e6bf512368 [MRM-432] Proxy Connectors are unable to download artifacts with alpha numerical version numbers
[MRM-519] fail to resolve artifactId for libs that contain versionKeyword in artifactId, like "maven-test-plugin"
[MRM-518] Changing the internal repository directory has no effect
[MRM-512] Unable to convert null repository config to archiva repository.
[MRM-533] metadata-updater is changing lastUpdating timestamp when it shouldn't
[MRM-493] Downloaded artifacts are stored in incorrect archiva-managed repository
- Work against proposal in mailing list http://www.nabble.com/-Proposal--Repository-Layout-Detection-Interaction-Changes.-tf4577852.html
- Creation of package org.apache.maven.archiva.repository.content
- Creation of RepositoryContent alternative as outlined in proposal.
- Have not swung all code over to new repositorycontent object yet.
- Left old BidirectionalRepositoryLayout classes in place temporarily.
- Migrated the following over to new RepositoryContent objects...
  * the /repository/ url
  * proxying
  * metadata updating
  * repository purge classes
- Unit testing. Lots and lots of unit testing.
- Correcting bad template email address.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583412 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 09:47:20 +00:00
Joakim Erdfelt 8af86cd884 Finishing the Repository split work that brett started.
ArchivaRepository has been removed from model.
This work was needed before repository layout/detection proposal work is started.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@582987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 22:07:39 +00:00
Brett Porter bc5df1bd8a [MRM-528] run consumers as artifacts arrive via proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@580187 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 00:12:03 +00:00
Joakim Erdfelt d539506103 Updating all consumers with JDK5 Generics for Collections.
Correcting report output on model details in ProjectModelToDatabaseConsumer.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@579799 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 21:13:25 +00:00
Joakim Erdfelt 4ba1367132 Eliminating debug message from logs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@578242 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 19:44:55 +00:00
Maria Odea B. Ching 55baa9dff8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576050 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:42:14 +00:00
Maria Odea B. Ching ffb8b570c3 [maven-release-plugin] prepare release archiva-1.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@576048 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 06:39:24 +00:00
Brett Porter 17f229020f [MRM-462] separate configuration of managed and remote repositories
Merged from branches/MRM-462

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574859 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:33:41 +00:00
Joakim Erdfelt 047ec47c8b [MRM-463] Metadata merging doesn't work.
Adding new Metadata Updater Consumer.
Updating archiva-configuration default for new consumer.
Updating archiva-proxy for new Metadata Tools approach.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574121 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 03:01:25 +00:00
Maria Odea B. Ching 124fe26ea9 [MRM-453]
- Added tests for metadata driven snapshots in DaysOldRepositoryPurgeTest
- Added test data

Changes made in DaysOldRepositoryPurge:
- Added functionality to consider the metadata driven snapshots (check the timestamp in the filename first before the last modified date of the 
file if it is a unique versioned snapshot)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@570089 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 12:27:13 +00:00
Maria Odea B. Ching dd76a49078 [MRM-453]
- Added tests for RepositoryConsumer and CleanupReleasedSnapshotsRepositoryPurge
- Added test data for the new tests
- Refactored AbstractRepositoryPurgeTest, DaysOldRepositoryPurgeTest and RetentionCountRepositoryPurgeTest



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@569789 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 09:42:27 +00:00
Maria Odea B. Ching d9ff71462a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563101 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:38:34 +00:00
Maria Odea B. Ching 72c28b496c [maven-release-plugin] prepare release 1.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563098 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:35:55 +00:00
Maria Odea B. Ching 7db1bd8f9d [MRM-294]
- Changed DefaultCleanupReleasedSnapshots to CleanupReleasedSnapshotsRepositoryPurge
- Removed unneeded fields in RepositoryPurgeConsumer
- Added constructor for DaysOldRepositoryPurge, RetentionCountRepositoryPurge and CleanupReleasedSnapshotsRepositoryPurge
- Updated test classes and test resources



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563064 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 08:22:35 +00:00
Maria Odea B. Ching 45ad3a396b [MRM-275]
- Added days older, retention count and delete released snapshots fields in repository page.
- Updated RepositoryPurgeConsumer



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563030 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:45:38 +00:00
Maria Odea B. Ching 1a7b107c06 [MRM-294] and [MRM-275]
- Added the test cases which were left out during the initial commit
- Added DefaultCleanupReleasedSnapshots (m2 implementation for cleaning up snapshots that were already released)
- Updated the following files: archiva-core-consumers/pom.xml, RepositoryPurgeConsumer, DaysOldRepositoryPurge, RetentionCountRepositoryPurge and 
AbstractRepositoryPurge



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562882 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 15:08:44 +00:00
Maria Odea B. Ching 9dda4d03d3 [MRM-294] Repository purge
- Added RepositoryPurgeConsumer
- Added these other classes used in repo purge: DaysOldRepositoryPurge, RetentionCountRepositoryPurge, ArtifactFilenameFilter and 
RepositoryPurgeException
- Added tests and test data
- Added new fields in configuration.mdo (daysOlder and retentionCount)
- Added repository-purge as a consumer in default-archiva.xml (but currently commented out)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 21:46:32 +00:00
Joakim Erdfelt ad906608b7 * Updating my email address from joakim@erdfelt.com to my apache side email address at joakime@apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:44:15 +00:00
Wendy Smoak c1ef06e2ab [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550128 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:22:30 +00:00
Wendy Smoak 2023b7ee64 [maven-release-plugin] prepare release archiva-parent-1.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550126 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:21:50 +00:00
Joakim Erdfelt 9bcbf0e482 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:47 +00:00
Joakim Erdfelt 582f8d5781 [maven-release-plugin] prepare release archiva-1.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543533 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:13 +00:00
Joakim Erdfelt c671224fbb Refactoring RepoContentConsumer into Known vs Invalid to aide in config/scanning
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536233 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 16:05:18 +00:00
Joakim Erdfelt 99efaacbf0 Upgrading trunk to 1.0-alpha-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534183 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:25:13 +00:00
Joakim Erdfelt 46c9341c34 Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528599 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:13:20 +00:00
Joakim Erdfelt d875c2574c Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528598 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:13:04 +00:00
Jesse McConnell c1cbf37fc6 added to exception info
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528527 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:34:18 +00:00
Joakim Erdfelt f068e90b01 * Adding role names to help plexus:descriptors work.
* Correcting auto-rename consumer to operate on path.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@525984 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 22:29:50 +00:00
Joakim Erdfelt ba5ac0e716 Adding auto-rename Consumer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@525978 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 22:02:37 +00:00