index.html 10.5 KB
Newer Older
Pallav Agarwal's avatar
Pallav Agarwal committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<title>Learning from mistakes: Bugzilla Landfills - VARSTACK</title>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
var host = "varstack.com";
var hostwww = "www.varstack.com";
if (((host == window.location.host) || (hostwww == window.location.host))
        && (window.location.protocol != 'https:'
            || window.location.toString().match(/http.?:\/\/var/))){
  window.location = window.location.toString().replace(/^http:/, "https:").replace(/https:\/\/varstack/, "https://www.varstack");
}
</script>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>

<noscript>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/highlighting.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
    
26
    
Pallav Agarwal's avatar
Pallav Agarwal committed
27
</noscript>
28

Pallav Agarwal's avatar
Pallav Agarwal committed
29 30 31 32 33
<script id="loadcss">function loadCSS(e,n,o,t){"use strict";var d=window.document.createElement("link"),i=n||window.document.getElementsByTagName("script")[0],r=window.document.styleSheets;return d.rel="stylesheet",d.href=e,d.media="only x",t&&(d.onload=t),i.parentNode.insertBefore(d,i),d.onloadcssdefined=function(e){for(var n,o=0;o<r.length;o++)r[o].href&&r[o].href===d.href&&(n=!0);n?e():setTimeout(function(){d.onloadcssdefined(e)})},d.onloadcssdefined(function(){d.media=o||"all"}),d}
loadCSS( "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css", document.getElementById("loadcss"));
loadCSS( "/css/highlighting.css", document.getElementById("loadcss"));
loadCSS( "/css/style.css", document.getElementById("loadcss"));
    
34
    
Pallav Agarwal's avatar
Pallav Agarwal committed
35 36 37 38 39 40 41 42 43 44
</script>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    
    <div class="container">
        <div class="row" id="menu">
45 46 47 48
            <div class="col-sm-2 col-xs-2 menu" id="site_title">
                <a href="/" style="color:black;">
                    <img src="/img/logo.png" style="max-height:90%;">
                </a>
Pallav Agarwal's avatar
Pallav Agarwal committed
49
            </div>
50
            <div class="col-sm-6 col-xs-10 menu">
Pallav Agarwal's avatar
Pallav Agarwal committed
51 52 53
                <div class="row" id="top_menu">
                    <ul class="nav nav-pills">
                        <li class="active" id="blog"><a class="color_change" href="/">Blog</a></li>
54 55 56
                        <li class="" id="tips"><a class="color_change" href="/tips/">Tips</a></li>
                        <li class="" id="algo"><a class="color_change" href="/algo/">Behind The Scenes</a></li>
                        <li class="" id="about"><a class="color_change" href="/about_me/">About Me</a></li>
Pallav Agarwal's avatar
Pallav Agarwal committed
57 58 59
                    </ul>
                </div>
            </div>
60 61 62 63 64
            <div class="col-sm-4 col-xs-12 menu">
                <form action="/search/" id='search-form'>
                    <input id="search-box" type="text" name="query" placeholder="Search..">
                </form>
            </div>
Pallav Agarwal's avatar
Pallav Agarwal committed
65 66 67 68 69 70 71
        </div>
        
        <div class="row" id="content">
            <div class="col-md-7 col-md-push-3">
                <div class="row" id="data">
                    <div class="col-md-12">
                        <br />
72
                        <h3 id="page_title">Learning from mistakes: Bugzilla Landfills</h3>
Pallav Agarwal's avatar
Pallav Agarwal committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
                        <hr />
                        <div class="row text-justify" id="content-holder">
                            <div class="col-md-12">
                                <p>This post is regarding a recent incident that happened when I was working for
my project in Google Summer of Code.</p>

<p>My day's task was to automate the filing of a bug in bugzilla if and when a
build fails. Though, not too hard, it would obviously require testing, because
I can't just assume that my code would work the way it is supposed to.</p>

<p>This didn't seem like much of a problem at that time. What I decided to do was,
test on a single bug and delete it when I'm done. Simple Enough?</p>

<p>As it turns out, it wasn't so simple. And I would've known that, had I done a
bit of a research. You see, once a bug is reported, it can be edited, yet
closing, or deleting the bug is something only the administrators are capable
of. So, by creating a bug in bugzilla I inadvertantly sent an email about a
bug to numerous people.</p>

92 93 94
<p>Anyway, for future reference, there is something called a Bugzilla Landfill
that you can use for testing out something on a Bugzilla.</p>

Pallav Agarwal's avatar
Pallav Agarwal committed
95 96 97 98 99 100 101 102 103 104 105 106 107
<p><i>Thanks for reading</i>
<br /><br /></p>

                            </div>
                        </div>
                    </div>
                </div>
                <hr /><br />
            </div>
            <div class="col-md-3 col-md-pull-7" id="recent">
                <h4>RECENT POSTS</h4>
                <ul class="nav nav-pills nav-stacked">
                    
Pallav Agarwal's avatar
Pallav Agarwal committed
108
                    <li>
109
                        <a href="/2018/01/07/Encrypted-posts-on-a-static-website/" class="color_change">Encrypted posts on a Static Website...</a>
Pallav Agarwal's avatar
Pallav Agarwal committed
110 111
                    </li>
                    
112
                    <li>
113
                        <a href="/2017/12/08/Automating-HTTPS-certs/" class="color_change">Automating HTTPS certs using Namesilo and...</a>
114 115
                    </li>
                    
116
                    <li>
117
                        <a href="/2017/12/05/Simplifying-Travis-with-Nix/" class="color_change">Simplifying CI with Nix</a>
118 119
                    </li>
                    
120
                    <li>
121
                        <a href="/2017/07/29/End-of-Diary/" class="color_change">An intern's views - End of...</a>
122 123
                    </li>
                    
124
                    <li>
125
                        <a href="/2017/07/24/Mistakes-are-okay/" class="color_change">Mistakes are okay</a>
126 127
                    </li>
                    
Pallav Agarwal's avatar
Pallav Agarwal committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
                </ul>
                <h4>RECENT TIPS</h4>
                <ul class="nav nav-pills nav-stacked">
                    
                    <li>
                        <a href="/2016/05/06/Ultimate-control-over-mobile-browser/" class="color_change">Ultimate control over Mobile Browser with...</a>
                    </li>
                    
                    <li>
                        <a href="/2016/04/27/SSH-keys/" class="color_change">Easy sharing of SSH keys</a>
                    </li>
                    
                    <li>
                        <a href="/2015/08/01/SSH-from-Windows/" class="color_change">Using SSH from Windows 10 without...</a>
                    </li>
                    
                    <li>
                        <a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
                    </li>
                    
                    <li>
                        <a href="/2015/07/01/Vim-Mappings/" class="color_change">Quick intro to custom Vim Mappings...</a>
                    </li>
                    
                </ul>
                <h4>TAGGED POSTS</h4>
                <ul class="nav nav-pills nav-stacked">
                    
                    <li>
                        <a href="/2016/05/13/Reference-Sheets-and-Useful-Links/" class="color_change">Reference Sheets and Useful Links</a>
                    </li>
                    
                </ul>
                <br />
                <br />
            </div>
            <div class="col-md-2">
            </div>
            <div class="row">
                <div class="col-md-7 col-md-offset-3 col-xs-10 col-xs-offset-1">
                    <div class="row">
                            <div class="col-xs-4">
                                <div class="fb-like" data-href="//www.varstack.com" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
                            </div>
                            <div class="col-xs-8 text-right">
                                <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
                                <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
                                <script src="/js/script.js"></script>
                                
                                
178
                                
Pallav Agarwal's avatar
Pallav Agarwal committed
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
                            </div>
                    </div>
                    <br/>
                </div>
                <div class="col-md-7 col-md-offset-3 col-xs-10 col-xs-offset-1">
                    <div id="disqus_thread"></div>
                    <script type="text/javascript" async>
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'varstack';

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
    dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-21768487-2', 'auto');
ga('send', 'pageview');
                    </script>
                    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
                </div>
            </div>
        </div>
    </div>


    <div class="modal fade" id="imagemodal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">
                        <span aria-hidden="true">&times;</span>
                        <span class="sr-only">Close</span>
                    </button>
                    <h4 class="modal-title" id="myModalLabel">
                        Image Preview
                    </h4>
                </div>
                <div class="modal-body">
                    <img src="" id="imagepreview" style="max-height: 100%; max-width: 100%;">
                </div>
            </div>
        </div>
    </div>