Commit 46f0af2b authored by tordinge's avatar tordinge Committed by Karsten Loesing
Browse files

migrated all files and references from org/torproject/onionoo to...

migrated all files and references from org/torproject/onionoo to org/torproject/metrics/onionoo; added package-info.java for all new packages
parent b8f7d8b8
# Changes in version 7.?-1.??.? - 2018-1?-??
* Minor changes
- Rename root package org.torproject.onionoo to
org.torproject.metrics.onionoo.
# Changes in version 7.0-1.18.1 - 2018-09-11
* Medium changes
......
......@@ -38,7 +38,7 @@ the overview page.
It describes what Onionoo is, lists known Onionoo clients, and points to
available documentation for users and potential contributors.
The product overview must be easily accessible, which is why it is
available via `https://onionoo.torproject.org/`.
available via `https://metrics.torproject.org/onionoo.html`.
The sources of the product overview are available in `web/index.html`.
......
......@@ -199,7 +199,7 @@ configuration from `onionoo-<version>/src/main/resources/logback.xml` to your
working directory, edit your copy, and execute the .jar file as follows:
```java -Xmx4g -DLOGBASE=<your-log-dir> -jar -cp .:onionoo-<version>.jar
org.torproject.onionoo.cron.Main```
org.torproject.metrics.onionoo.cron.Main```
Internally, Onionoo uses the Simple Logging Facade for Java (SLF4J) and ships
with the Logback implementation for SLF4J. If you prefer a different logging
......
......@@ -21,7 +21,7 @@
<!-- If 'project-main-class' is not provided, a library jar is created. -->
<property name="project-main-class"
value="org.torproject.onionoo.cron.Main" />
value="org.torproject.metrics.onionoo.cron.Main" />
<property name="jarincludes" value="logback.xml" />
<property name="jarpatternprop" value="library" />
......@@ -31,13 +31,13 @@
<target name="coverage-check">
<cobertura-check branchrate="0" linerate="0"
totallinerate="34" totalbranchrate="30" >
<regex pattern="org.torproject.onionoo.server"
<regex pattern="org.torproject.metrics.onionoo.server"
branchrate="67" linerate="77"/>
<regex pattern="org.torproject.onionoo.docs"
<regex pattern="org.torproject.metrics.onionoo.docs"
branchrate="19" linerate="29"/>
<regex pattern="org.torproject.onionoo.updater"
<regex pattern="org.torproject.metrics.onionoo.updater"
branchrate="17" linerate="18"/>
<regex pattern="org.torproject.onionoo.writer"
<regex pattern="org.torproject.metrics.onionoo.writer"
branchrate="22" linerate="20"/>
</cobertura-check>
</target>
......@@ -109,7 +109,7 @@
<attribute name="Implementation-Version"
value="${release.version}-${git.revision}"/>
<attribute name="Main-Class"
value="org.torproject.onionoo.server.ServerMain" />
value="org.torproject.metrics.onionoo.server.ServerMain" />
</manifest>
</war>
</target>
......
/* Copyright 2011--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.cron;
import org.torproject.onionoo.docs.DocumentStore;
import org.torproject.onionoo.docs.DocumentStoreFactory;
import org.torproject.onionoo.updater.DescriptorSource;
import org.torproject.onionoo.updater.DescriptorSourceFactory;
import org.torproject.onionoo.updater.StatusUpdateRunner;
import org.torproject.onionoo.writer.DocumentWriterRunner;
package org.torproject.metrics.onionoo.cron;
import org.torproject.metrics.onionoo.docs.DocumentStore;
import org.torproject.metrics.onionoo.docs.DocumentStoreFactory;
import org.torproject.metrics.onionoo.updater.DescriptorSource;
import org.torproject.metrics.onionoo.updater.DescriptorSourceFactory;
import org.torproject.metrics.onionoo.updater.StatusUpdateRunner;
import org.torproject.metrics.onionoo.writer.DocumentWriterRunner;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
/* Copyright 2018 The Tor Project
* See LICENSE for licensing information */
/**
* Classes related to the background updater process.
*/
package org.torproject.metrics.onionoo.cron;
\ No newline at end of file
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import java.util.Map;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.torproject.descriptor.BandwidthHistory;
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import java.util.Map;
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.apache.commons.lang3.StringEscapeUtils;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.apache.commons.lang3.StringEscapeUtils;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.torproject.onionoo.util.FormattingUtils;
import org.torproject.metrics.onionoo.util.FormattingUtils;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
public class DocumentStoreFactory {
......
/* Copyright 2014--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
......
/* Copyright 2011--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import org.torproject.onionoo.updater.TorVersionStatus;
import org.torproject.metrics.onionoo.updater.TorVersionStatus;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
......
/* Copyright 2013--2018 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo.docs;
package org.torproject.metrics.onionoo.docs;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment