7 ms·
Edit your code in the cloud with bitbucket
- planckscnst 13y agoI'm really hoping they give us a way of organizing our repositories next. https://bitbucket.org/site/master/issue/2323/create-a-way-to-group-repositories https://bitbucket.org/site/master/issue/2323/create-a-way-to...
- planckscnst 13y agoAlso related: https://answers.atlassian.com/questions/128202/is-there-a-way-to-categorize-or-tag-repos-within-bitbucket?page=1#179676 https://answers.atlassian.com/questions/128202/is-there-a-wa...
- mixedbit 13y agoI don't find such feature very useful. Without a way to execute code or run tests it seems too easy to break something.
- jval 13y agoIt's just a start, I'm sure it wouldn't be too difficult to add these features in future for popular languages if there is demand for it. It's pretty exciting IMHO.
- mixedbit 13y agoExecuting code would actually be very difficult. They would need to configure an isolated VM for each run (for security) and somehow figure out a generic way to install/configure dependencies.
- simias 13y agoFor many languages (especially interpreted ones) you could just use a dumbed down interpreter with crippled libraries. It's fairly common actually, like the PHPs running in shared environements. Many programming language's websites let you try running some code from the browser, without having to install anything as well, see for instance http://dlang.org/ http://dlang.org/ (amongst many others). I'm not sure it would be very useful (to me at least, but I mostly write C) but it's definitely not rocket science.
- rschmitty 13y agoIt is nice at least for editing .md files to update readme/instructions/etc. Sometimes I want to do a quick edit without having to cd directory, make sure I'm up to date, edit file, add/commit/push just for a md file in the repo
- inthewind 13y agoIf using the web interface feels better for something like that, it shows just how bad the alternative is. It's not nice when something like source control feels like it gets in the way, but it could be mitigated by having better/easier client tools. I totally get why you'd want to do that.
- estebank 13y agoSo you are saying git gets in the way? I'm curious about why that is the case.
- inthewind 13y agoI didn't know if they used git or hg, and I wasn't necessarily having a go at either. The poster obviously thought that there was less friction to an online edit, so you have to ask yourself why that is? Perhaps they don't like fiddling about on the command line, their IDE is too klunky, file managment is a pain, their version control interface is convulted, or they are not sitting at their computer with their codebase - who knows! Either way they appear to find it easier that way.
- tudborg 13y agoOr maybe the issue tracking system is a web tool that links to the file in the repository and you could fix it with a click to edit instead of pull,open file,fix,commit,push. Documentation or fixes to comments in code is an obvious usecase for online edits cross-language. If you'd really rather do the pull,open,fix,commit,push i would argue that you are too stuck in your own ways.
- 13y ago
- Alphasite_ 13y agoIF you had it hooked up to something like heroku, then it could be pretty useful, not the best option, but still useful sometimes.
- bluedino 13y agoDeploy to staging or test environment.
- daigoba66 13y agoI have a CI server which polls for the latest. It compiles and executes tests. If something fails I get notified (e-mail, etc). As long as you have something like this in place, it doesn't matter how the change gets committed to the repository.
- blktiger 13y agoOne major reason for this feature is that it's used to edit the wikis. Wikis are git projects in bitbucket so you can check them out and edit them locally, or edit them in bitbucket. For the less technical users collaborating on a project, I'd say that this feature is a big win.
- notatoad 13y agobitbucket can ping a web hook on every commit. set up a hook that pulls the code to your test server and runs your test suite.
- defuzz 13y agoI fail to understand why I shouldn't use my favorite editor, I'd call it a non-feature (useless, not available from the competion because it is useless).
- elithrar 13y ago> "not available from the competition..." GitHub has this feature, FWIW.
- mcrittenden 13y agoI know that I've used GitHub's online editor a few times in situations where I see a quick typo I need to fix or want to make a one line change without the hassle of opening up the right directory, pulling the latest code, opening up an editor, etc etc.
- defuzz 13y agoSorry to hear that your IDE totally sucks - scnr. It just depends on how you approach it, since I prefer to work local and upstream revisions with change notes, the main reason for revision control. Given the featureset of github, it makes somehow sense, it just contradicts revision control to work directly in the repository.
- mcrittenden 13y agoIt's not always for projects that you're actively working on--I've done it a lot for projects that I have never previously touched and wouldn't otherwise go to the trouble of cloning just for a small tweak, like a random open source project with a typo somewhere. I don't think it's at all related to the editor I use (I use vim anyway so I don't think that's the issue). Maybe it's worth considering that others prefer different workflows than you or have different use cases?
- tonetheman 13y agoThis is great if you are stuck somewhere needing to change something. I really like bitbucket, about the only thing I miss on their site is a "gist" like functionality.
- lucisferre 13y agoI still find Bitbucket less usable than Github. The price is right, I suppose.
- drivebyacct2 13y agoI was hoping they'd leapfrog GitHub and allow you to stage actual commits and use something like CodeMirror to edit.
- planckscnst 13y agoIsn't that exactly what they did?
- drivebyacct2 13y agoI guess I always expect UI chrome around CodeMirror, but yeah, it obviously says CodeMirror right there, DOH, I missed the color syntax highliting when I skimmed through. I still don't see how to do multifile commits all from the web-ui which is what I meant to reference. I can do one-off files on GitHub but they're a commit a piece. Both GitHub and BitBucket are really close to letting me do significant editting of code from my browser which is still very useful for me. There are tons of times I'd love to be able to fire up GitHub and hack on some files without having to actually commit to persist changes. But then again, maybe I'm projecting feature creep on what is ultimately a VCS.
- swombat 13y agoSweet! So the NSA can find holes in your code even before you release it!
- ceejayoz 13y agoAre we really going to do this on every comment thread?
- hayksaakian 13y agoI want them to open an API for this, maybe I want to make edits my own way, or write a tool for others?
- geehsien 13y agoSeems like a good alternative for online pairing or even interviews!
- pearjuice 13y agoFor the life of me I cannot comprehend why they din't use a CSS & HTML based button with native text for the "Create a free account" button. Or is it supposed to look that cheap?
- zackbloom 13y agoThey probably use a CRM which only allows for image-based CTAs.