incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7199 filter projects in
Date Mon, 03 Mar 2014 18:36:21 GMT
What is the callback function for?  It's not very clear to me, so it should have a better name
and/or comments to explain itself.

The help text for `-n` says "URL prefix of excluded neighborhood(s)" but it actually uses
nbhd names for the query.  That should be fixed up.  I personally do prefer to use url prefixes,
since those never change and you don't have to worry about escaping whitespace on the commandline
(which may happen for a name with a space in it)


** [tickets:#7199] filter projects in**

**Status:** in-progress
**Milestone:** forge-backlog
**Labels:** 42cc 
**Created:** Fri Feb 21, 2014 03:35 PM UTC by Dave Brondsema
**Last Updated:** Fri Feb 28, 2014 11:21 AM UTC
**Owner:** nobody

scripts/ should omit deleted projects and should have commandline
option for neighborhood(s) to exclude.  `chunked_find` can take a query param, so that should
work.  The query shouldn't need to be indexed (and a $nin is even fine) since `chunked_find`
uses the `_id` index to go through all the records.  (If you're up for it, investigate the
first time chunked_find is called in which max_id is None and thus _id won't be in the query
but is in the sort - will that perform poorly?  need to have an initial max_id?)

Also, `<lastmod>` shouldn't just use the current date all the time, it should use the
project mod date.


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message