Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312483 - Source change request: Made a source change to '/usr/bin/ompload' which will allow you to return only the upload link
Summary: Source change request: Made a source change to '/usr/bin/ompload' which will ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 342823
Blocks:
  Show dependency tree
 
Reported: 2010-03-31 19:36 UTC by Chris Chan
Modified: 2010-11-01 15:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chan 2010-03-31 19:36:46 UTC
Omploader is a python script CLI-to-image/pastebin. I've send a copy of this message to omp@gentoo.org (David Shakaryan)

 ~ ./modifiedomp 
Usage:  ompload [-h|--help] [options] [file(s)]
  -l, --link      Only output upload link                                                         <--- This is the feature I've implemented.
  -q, --quiet     Only output errors and warnings
  -f, --filename  Filename to use when posting data
                  from stdin

Here is the source code I began with: http://pastebin.com/p4UGp8K3
Here is the modified source code: http://pastebin.com/M4SZBr3H

Of course this program was last updated 3 years ago as evidenced by the source code, so I don't know if he is still in charge of the source code --- can someone please add this revised copy to the tree?

Reproducible: Always
Comment 1 Rafał Mużyło 2010-03-31 21:51:07 UTC
If you attach anything, don't use pastebins for bugzilla reports.
You should probably attach just a patch,
unless the changes were large compared to total size of the sources. 
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-09-17 09:11:49 UTC
Hello Chris,

i'll take care of this package from now on.

On the new Website http://ompldr.org/ is a link to the git repo http://git.omp.am/?p=omploader.git which is highly active these days.

Can you please contact Brenden Matthews	with your (updated) patch? Feel free to poke me upon a version bump in the script.

Michael
Comment 3 Michael Weber (RETIRED) gentoo-dev 2010-10-26 21:10:48 UTC
Chris, 

the only output you wanted to have is the Download-Link of the uploaded file, right?

This should be arcived by -u from version 20100909 which will be stabilized by bug 342823

Michael


Usage:  ompload [-h|--help] [options] [file(s)]
  -q, --quiet     Only output errors and warnings
  -u, --url       Only output URL when finished
  -f, --filename  Filename to use when posting data
                  from stdin
  -n, --no-clip   Disable copying of URL to clipboard
                  (this feature uses the xclip tool)

  You can supply a list of files or data via stdin (or both)

  This script requires a copy of cURL in the path,
  and will automatically copy the list of URLs to.
  the X11 clipboard if the `xclip' program is
  available in your PATH.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2010-11-01 15:43:47 UTC
Hello chris,

please check out the new stable version and reopen if it isn't fixed.

Michael