Commit Graph

50 Commits

Author SHA1 Message Date
Joakim Erdfelt 7137e22fd0 Updates for reporting.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@510280 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 22:45:46 +00:00
Joakim Erdfelt 41de65ee5d merge from trunk 507588:HEAD
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@509328 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 20:49:18 +00:00
Joakim Erdfelt f795ac8cdc * Refactoring for archiva-common complete.
* Updating unit tests in other modules for new archiva-common libs.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@508779 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 17:04:40 +00:00
Joakim Erdfelt 2ff6af4685 Correcting last compile errors. Providing stable 'last run' indicator
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@507728 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 22:42:29 +00:00
Joakim Erdfelt 1c62bee405 Correcting more Test failures.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@507719 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 22:26:37 +00:00
Joakim Erdfelt 5bc4c8cf49 Merging changes from trunk (revision 506385:507588) into branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@507626 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 17:05:18 +00:00
Joakim Erdfelt 59f1dcd3e2 (NOT COMPLETE YET) Commiting what I have for stability and memory utilization so far, wanted to confer with brett about changes.
* Overhauled archiva-discoverer to use a walker / publish / consumer type interface instead of in-memory lists of files.  This has had a reduction in memory over large repositories.  Expect an average of memory reduction of (22MB * Managed Repository Count).
* Overhauled archiva-reports-standard to use jpox as opposed to xml store to reduce memory usage.  Expect an average memory reduction of (45MB * Managed Repository Count).



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-MRM-239@507550 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 14:44:59 +00:00
Brett Porter 5db3c8ec41 add a getAll method
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506315 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 06:16:58 +00:00
Brett Porter 3b6c681194 more practical use of configuration change listeners
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506292 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 05:34:22 +00:00
Brett Porter 39ef9035af move to a registry based configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@505329 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 15:39:41 +00:00
Joakim Erdfelt 0d3707a11b Overhauling download link.
* Adding <archiva:downloadArtifact /> taglib.
* Adding ability to download sources, javadoc, and client jars too.
* Adding ActiveManagedRepositories class to aide in anonymous artifact handling.
* Adding test-repository for maven 2.x j2ee artifacts with sources / javadoc / client jars.
* Adding ManagedArtifact class to track this relationship between main artifact and attached artifacts.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@503520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 00:30:59 +00:00
Joakim Erdfelt 79cc18ce70 * Upgraded webdav server to use new plexus-webdav with ability to override logic and correct flaws found in webdav servers.
* Added ProxiedDavServer component (used by plexus-webdav) to make /repository/ access proxied.
* Upgraded plexus, used [MRM-264] as baseline, but many more changes were needed.
* Plexus upgrade broken JSTL's <c:forTokens> taglib everywhere, corrected by moving away from that taglib.
* Created GroupIdLink tag following webwork guidelines for UI component.
* Fixed AuditLog.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@497563 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 20:39:19 +00:00
Brett Porter 928391db88 fix issue reference
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489861 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 06:41:06 +00:00
Brett Porter 0b54f729ab Update license, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489860 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 06:39:46 +00:00
Brett Porter 740994f99d Get rid of old Archiva component
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489857 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 06:09:30 +00:00
Edwin L. Punzalan 62e0518548 PR: MRM-247
Submitted by: Teodoro Cue, Jr.

Add timestamp when the indexer last run for user reference

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@485552 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:30:32 +00:00
Jesse McConnell fc509f047b plexus-taskqueue-1.0-alpha-4 was released
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@483595 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 18:30:29 +00:00
Brett Porter 8df7d7485a adding the company logo logic
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@483543 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 16:48:29 +00:00
Henri Yandell 08b6a8f7b6 Fixing the package namin for clients of archiva-reports-standard
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@481459 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 00:34:35 +00:00
Henri Yandell 8f58ff7664 Moved from Plexus-Util StringUtils to Lang StringUtils. replace, split and join should just have had performance improvements (probably won't be noticed). isEmpty no longer trims, but usually people don't expect that so that's a semi bugfix. I've also switched a couple of \!isEmpty's to isNotEmpty.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@481446 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 23:44:12 +00:00
Jason van Zyl 765e78ef3b o some files idea missed, 6.0 is buuuuggy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471110 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 04:05:09 +00:00
Jason van Zyl c5c102746c o allow for blacklisted patterns
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471109 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 04:00:46 +00:00
Jason van Zyl ba4f20ef29 o breaking out the converter to a separate component to keep the application component from getting
over crowded.


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@470634 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 02:08:35 +00:00
Edwin L. Punzalan 2b1e907f10 - verified copyright headers
- optimized imports
- ran code formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467926 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 09:15:23 +00:00
Edwin L. Punzalan 15fe0128dd PR: MRM-139
Enabled task scheduler policy for queueing: wait, and skip.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467569 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 06:17:38 +00:00
Edwin L. Punzalan c15a3f3ec5 PR: MRM-139
enabled use of plexus-taskqueue in addition to the scheduler. The scheduler now queues the tasks.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467546 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 03:18:54 +00:00
Emmanuel Venisse 7f606ec657 Fix NPE when repository path contains spaces
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@454323 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 09:51:18 +00:00
Brett Porter 440c3baa30 [MRM-191] don't allow proxy requests if no proxy configured
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@451603 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 14:09:20 +00:00
Brett Porter 28dc3238cb [MRM-187] improve proxy logging
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@451590 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 12:42:11 +00:00
Brett Porter d221e70b91 set correct line endings
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446573 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 11:03:30 +00:00
Brett Porter b57273dff3 [MRM-166] add multiple report groups
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442028 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 23:21:19 +00:00
Brett Porter 9dd5b3e988 clarify some TODO elements
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441803 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:51:32 +00:00
Brett Porter ffded4338d [MRM-167] add the execution times to the report
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441795 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 15:19:42 +00:00
Brett Porter 5e188c6041 flush cache at the correct point
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441777 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 10:35:39 +00:00
Brett Porter 2906f4b296 [MRM-77] run report in the background
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441757 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 08:08:37 +00:00
Brett Porter 1f481e2126 [MRM-77] ability to regenerate the report
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441573 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 16:56:58 +00:00
Brett Porter bb259f1a6b [MRM-161] report on metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441419 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 07:52:21 +00:00
Brett Porter 90f0dddc43 [MRM-161] introduce a model for storing reports in the repository, and wire them up on the back of the indexer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441377 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 05:16:51 +00:00
Brett Porter e4cfdac7b3 [MRM-161] remove scheduled execution, as it will be synchronised with the indexing
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440607 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 04:02:08 +00:00
Brett Porter 63c171e2eb [MRM-161] move the query layer tests, remove unnecessary mocks, and fix tests to test legitimate things. Remove tests for null artifact ids, etc since it is impossible that they would be created with a normal (non-mock) API and the reporting will get these errors fed through from the file positioning and model validation errors instead
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440282 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 07:00:52 +00:00
Brett Porter c0e84cdce7 [MRM-161] add the reporter scheduled task
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440244 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 04:08:15 +00:00
Brett Porter 1fa628623b [MRM-136] make the browse interface perform acceptably on large repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439966 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 07:31:52 +00:00
Brett Porter 0d7b2b158b [MRM-142, MRM-134] remove timestamp handling and instead simply index records that aren't previously indexed. We can add timestamp checking for updating records later, but this removes the problems associated with relying on filesystem timestamps and a single tracking timestamp.
Included in this fix is some refactoring to reduce memory usage, including a hack to flush the project cache periodically. This hack can be removed when the project cache is configurable (see MRM-142).
This now indexes the ibiblio repository from scratch in ~23 minutes, and incremental indexing takes 30-60 seconds.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439935 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 05:34:42 +00:00
Brett Porter 44ffe7eb4c rename discovery package for consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439194 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 05:52:21 +00:00
Brett Porter 96ba48bf47 [MRM-144] various minor improvements to code
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439134 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 01:47:48 +00:00
Brett Porter b103fbf497 [MRM-144] clarify TODO items
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437583 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 07:16:16 +00:00
Brett Porter 88b4ca99fd fix the plexus requirement
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437170 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 14:46:23 +00:00
Brett Porter c5a3a9035f rename package indexing -> indexer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437117 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 07:42:37 +00:00
Brett Porter ce6b82aa75 rename java packages to archiva
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437105 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 07:22:22 +00:00
Brett Porter 209ef5ca84 rename archiva artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437088 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 05:47:59 +00:00