{"push_id":1501406184,"size":7,"distinct_size":7,"ref":"refs/heads/nested_sites","head":"09f88570dcbb1f913d54bce493e22fc9bd9a22bc","before":"a7794861c72aea97369379ceb20fc0f360d99a0d","commits":[{"sha":"4972d7d1eef4c1598036dac5beacd45057ca9e6b","author":{"name":"Rakib Hasan","email":"a8b5044241240d77bc9add8d3ed8db9debe493a2@yahoo.com"},"message":"Fix for Dropbox/nsot#219. Added an except clause in perform_create method (#245)\n\nin NsotViewSet class. It catches the ObjectDoesNotExist exception, then\r\nit raises a BadRequest exception which has a status code of 400.\r\n\r\nAlso adding a description for build_static command in setup.py","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/4972d7d1eef4c1598036dac5beacd45057ca9e6b"},{"sha":"d5d413b6c6eb55037a4c70562f2620b1ddbbbf57","author":{"name":"Nick Pegg","email":"3095c93d6ea7c5200e557b6036c9a91ff7a76ed2@nickpegg.com"},"message":"Move the Vagrantfile to the root of the repo (#246)\n\nSince by default Vagrant mounts the directory containing the Vagrantfile\r\nas /vagrant/ inside the VM, this gives us easier access to the code in\r\ncase we want to run NSoT via the code we're editing rather than via\r\n`pip install`.\r\n\r\nI also added .vagrant to .gitignore since that folder is created by\r\nVagrant. Also included are a couple of whitespace fixes that my editor\r\nautomatically made.","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/d5d413b6c6eb55037a4c70562f2620b1ddbbbf57"},{"sha":"4a679e1f5f2dea5639d3206eb04ca4b12f92cff0","author":{"name":"Nick Pegg","email":"3095c93d6ea7c5200e557b6036c9a91ff7a76ed2@nickpegg.com"},"message":"Fix for get_next_network assigned state regression (#250)\n\n* Fix for get_next_network assigned state regression\r\n\r\nA regression was introduced in #226 to where if a child was in the\r\nassigned state (such as a /32 assigned to an interface), it would be\r\nconsidered as a candidate for get_next_network, while allocated children\r\nwhere not.\r\n\r\nMy fix for this builds the list of dirty subnets as the set of Networks\r\nthat match the prefix length we're looking for and are in a 'busy' state,\r\nwhich are the subnets that should be immediately discounted as we look\r\nthrough all the possible subnets of the desired prefix length.\r\n\r\nI've also added a test to the regression tests to check for this. I've\r\nverified that the test fails with the version of models.py that excludes\r\nmy fix.\r\n\r\n* Fixes #247","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/4a679e1f5f2dea5639d3206eb04ca4b12f92cff0"},{"sha":"bcb4473ef661390b62bfacdf33d8bbe571cfb287","author":{"name":"Nick Pegg","email":"3095c93d6ea7c5200e557b6036c9a91ff7a76ed2@nickpegg.com"},"message":"Fix another get_next_network() assigned bug (#252)\n\n* Fix another get_next_network() assigned bug\r\n\r\nIt turns out that my fix in #250 didn't cover all cases where a network\r\nin the assigned state would be considered. If a network is in a not-busy\r\nstate but did not have a prefix-length that matched what we're looking\r\nfor, it would never get checked to see if it overlaps with candidate\r\nsubnets.\r\n\r\nThis fixes that problem by modifying `children` to be all children\r\ninstead of all the ones in a not-busy state, since `children` is what we\r\ncheck candidate subnets against looking for overlaps.\r\n\r\n* Bump to 1.0.12, include missing 1.0.11 changelog","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/bcb4473ef661390b62bfacdf33d8bbe571cfb287"},{"sha":"b3c3e2c5548493589c638e15992dab870e1f2c1c","author":{"name":"Daniel Martin","email":"c066a9fde2b1620c6f467eb65aeded26698cf6a4@users.noreply.github.com"},"message":"Adding device_hostname cache to Interface (#253)\n\n* Provides the ability to more efficiently access the device hostname\r\n  associated with an interface, using the cached ``device_hostname`` field.\r\n* Provides the ability access interface objects by natural key of\r\n  ``device_hostname:name``.\r\n  Ex. ``foo-bar1:eth1``\r\n* Fixes #191","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/b3c3e2c5548493589c638e15992dab870e1f2c1c"},{"sha":"61320bf6127bd06aa6fc761c50612445c0fdc0ba","author":{"name":"Rakib Hasan","email":"7cb276aad088c09c10bb4b780ec533c58d222d72@gmail.com"},"message":"dropbox/nsot#215 added foreignkey for a site inside the site object,\nand added a validation check to prevent a site from being nested in itself.","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/61320bf6127bd06aa6fc761c50612445c0fdc0ba"},{"sha":"09f88570dcbb1f913d54bce493e22fc9bd9a22bc","author":{"name":"Rakib Hasan","email":"7cb276aad088c09c10bb4b780ec533c58d222d72@gmail.com"},"message":"Added a validator to check if a user is trying to set a parent to\none of the site's children or grand children","distinct":true,"url":"https://api.github.com/repos/rmhasan/nsot/commits/09f88570dcbb1f913d54bce493e22fc9bd9a22bc"}]}
{"actor":{"display_login":"rmhasan"}}