<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Event Format</title><link>https://sourceforge.net/p/zarkov/home/Event%2520Format/</link><description>Recent changes to Event Format</description><atom:link href="https://sourceforge.net/p/zarkov/home/Event%20Format/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jul 2011 18:19:08 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/zarkov/home/Event%20Format/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Event Format modified by Dave Brondsema</title><link>https://sourceforge.net/p/zarkov/home/Event%2520Format/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -4,7 +4,7 @@
 
 Events are sent to Zarkov over [ZeroMQ](http://www.zeromq.org/) "push" sockets and should use BSON as their message encoding. The fields used in all messages are as follows:
 
-- timestamp: UTC time of the event
+- timestamp: UTC time of the event (type: bson datetime)
 - type: basic event type (create/modify/login/commit/etc)
 - context: object containing context information (user, project, tool, etc)
     - user: username of logged-in user
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 07 Jul 2011 18:19:08 -0000</pubDate><guid>https://sourceforge.neta576d559727826b58408f76c13abe4c2e6965e35</guid></item><item><title>WikiPage Event Format modified by Rick Copeland ☕</title><link>https://sourceforge.net/p/zarkov/home/Event%2520Format/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -2,7 +2,7 @@
 
 ## Basic Format
 
-Events are sent to Zarkov over ZeroMQ and should use BSON as their message encoding. The fields used in all messages are as follows:
+Events are sent to Zarkov over [ZeroMQ](http://www.zeromq.org/) "push" sockets and should use BSON as their message encoding. The fields used in all messages are as follows:
 
 - timestamp: UTC time of the event
 - type: basic event type (create/modify/login/commit/etc)
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Copeland ☕</dc:creator><pubDate>Fri, 01 Jul 2011 13:59:23 -0000</pubDate><guid>https://sourceforge.net8116fc74e1f4c1d46a429d845fcd49af07afd96c</guid></item><item><title>WikiPage Event Format modified by Rick Copeland ☕</title><link>https://sourceforge.net/p/zarkov/home/Event%2520Format/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -2,18 +2,22 @@
 
 ## Basic Format
 
-Events sent to Zarkov should be in either BSON (preferred) or JSON format. The fields used in all messages are as follows:
-
+Events are sent to Zarkov over ZeroMQ and should use BSON as their message encoding. The fields used in all messages are as follows:
+
 - timestamp: UTC time of the event
 - type: basic event type (create/modify/login/commit/etc)
 - context: object containing context information (user, project, tool, etc)
     - user: username of logged-in user
     - neighborhood: neighborhood name (if applicable)
     - project: project shortname (if applicable)
     - tool: tool name ('Wiki', 'Tickets', etc.)
     - mount_point: the mount point of the tool (if applicable)
     - is_project_member: flag indicating that the 'user' above is a project admin/maintainer/developer/member
 - extra: any extra information needed to categorize the event
+
+Additionally, there is a `$command` field which is used optionally to tell Zarkov that the message is already validated (timestamp inserted, etc) and that Zarkov does not need to do anything:
+
+- $command: "event_noval" if the event is not to be validated, missing or nill otherwise. 
 
 Below, we will define any deviations from this standard for various messages.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Copeland ☕</dc:creator><pubDate>Fri, 01 Jul 2011 13:58:06 -0000</pubDate><guid>https://sourceforge.netcff9b7dfdfd4a0c48f48d08415630a85da0f1747</guid></item><item><title>WikiPage Event Format modified by Rick Copeland ☕</title><link>https://sourceforge.net/p/zarkov/home/Event%2520Format/</link><description>&lt;pre&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Copeland ☕</dc:creator><pubDate>Thu, 30 Jun 2011 20:19:31 -0000</pubDate><guid>https://sourceforge.netbc9e73dfc80628243d188f560724217f661484af</guid></item><item><title>WikiPage EventFormat modified by Rick Copeland ☕</title><link>https://sourceforge.net/p/zarkov/home/EventFormat/</link><description>This page defines the various types of events logged to Zarkov by SourceForge.

## Basic Format

Events sent to Zarkov should be in either BSON (preferred) or JSON format. The fields used in all messages are as follows:

- timestamp: UTC time of the event
- type: basic event type (create/modify/login/commit/etc)
- context: object containing context information (user, project, tool, etc)
    - user: username of logged-in user
    - neighborhood: neighborhood name (if applicable)
    - project: project shortname (if applicable)
    - tool: tool name ('Wiki', 'Tickets', etc.)
    - mount_point: the mount point of the tool (if applicable)
    - is_project_member: flag indicating that the 'user' above is a project admin/maintainer/developer/member
- extra: any extra information needed to categorize the event

Below, we will define any deviations from this standard for various messages.

## Artifact create/modify/delete messages

These messages are generated by Allura whenever artifacts are changed.

- type: 'create' | 'modify' | 'delete'
- extra: the index_id of the artifact. (e.g. for a ticket, this would start with the string 'forgetracker/model/ticket/Ticket')

## Login messages

These messages should be generated whenever a user logs in to any part of SourceForge

- type: 'login'
- context: only 'user' is relevant</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Copeland ☕</dc:creator><pubDate>Thu, 30 Jun 2011 20:18:39 -0000</pubDate><guid>https://sourceforge.net6a0a2bdc7a0e952842a84f287bd3827729aad4e8</guid></item></channel></rss>