Coder Social home page Coder Social logo

isrcp's Introduction

ISRCP

This project is Integrity Solutions' Recursive Code Printer (ISRCP). This is a little project to recursively print the source code files for your project.

No More Single File Printing

The reason behind this project is that, here at Integrity Solutions, we develop our software in the NetBeans IDE. It is truly an awesome and powerful IDE for developing software, but, when we complete a project to a release point, we have to, currently, print each file, one at a time, so that we can take care of our copyrighting. This just gets old.

The Solution

We feel that the solution to this problem is to simply create a little program that will recursively walk a project's source tree and print all the source files out in one fail swoop. This way, we can be sure we don't miss printing out a file when we submit our source for copyrighting. As everyone knows, copyrights are important for developers to protect their intellectual property. Even though we work in the Open Source world, we still need to copyright our code, so that it remains ours in the future. This is why every single Open Source license mentions that, though you can redistribute and modify the source code, the original copyright notice must stay in tact. Therefore, we need to make sure we copyright our work. And, the first step toward the copyright is to print the source code out. Why not make that step as hassle-free as possible? Especially since the rest of the copyright process is chock full of hoops and hassles!

isrcp's People

Contributors

seancarrick avatar mend-bolt-for-github[bot] avatar

Watchers

James Cloos avatar  avatar

isrcp's Issues

Only Print File that have Changed

Is your feature request related to a problem? Please describe.
Sort of.
It would be nice if the utility would only print out files that have changed since the last time the project was printed.

Describe the solution you'd like
If there was a way to assign a project name to the print job, then store those names and print dates somehow (automatically, of course). This way, each time the utility is run, if the user has already printed out the source code files for a project, only those sources that have been modified would be printed.

Describe alternatives you've considered
There doesn't really seem to be any alternatives, except for maybe copying files to a specific printer to print each time, then only printing modified files each time after the printer utility was used. This seems to defeat the purpose of the printer utility in the long run.

Additional context
As an example, let's say that userA has three projects they are working on:

  • ProjectNames: Contains 150 source files in the C language
  • ProjectNumbers: Contains 39 source files in the C++ language
  • ProjectAddresses: Contains a graphical program in the C++ language that has over 1,000 source files.

For ProjectNames and ProjectNumbers, reprinting the whole project each time is no big deal. However, after the initial print of all 1,000 source files in ProjectAddresses, only being able to print all of them after only modifying a handful of them seems inefficient and a little bit of overkill.

If there was some way of allowing the user to assign a project name to the source files being printed, store that name and the print date of the project, the next time the utility is run, the utility would, by default, only print those files that have changed since the last time the project was printed.

This would be way more efficient, waste less paper, and take less time than needing to print all of the project sources, when only a few have been modified.

Propagate Page Settings to Printout

Describe the bug
Text is being cut off on the right margin and the margins are at 1" on the top, left and right, and 1/4 to 1/2 inch on the bottom. It would be nice to be able to set these margins, as well as the font and propagate the changes to the printout.

To Reproduce
Steps to reproduce the behavior:

  1. Simply run the program, provided a path to the source tree or a file on the command line and look at the resulting printouts.

Expected behavior
Utility should provide nice clean printouts of the source code requested.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Ubuntu 18.04
  • Browser: Chrome
  • Version: 77.0.3865.90 (Official Build) (64-bit)

Smartphone (please complete the following information):
N/A

Additional context
Attaching scans of a couple of the eight pages that were printed.
Second Run Page 1of8
Second Run Page 3of8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.