Comments (10)
@hashhar, thanks for getting in touch.
That would be great if you could maintain the Windows version. Basically, what's needed is to see if it builds and maybe run go test
to see if they all pass.
Once it's built, you can upload the version in the release page.
I've added you as a collaborator on the project. Please let me know if you have any question.
from massren.
Thanks a lot for this. I'll ask you things once I go through the code.
from massren.
I got the source through go get github.com/laurent22/massren
I got it to build successfully but haven't tried running it (yet). (Baby steps here)
I wanted to ask you about the development process.
- What files are created and where once I run
go build
? - Should I build it outside the repo or in a separate branch?
- Do I have to make any changes to the other user directories that got created? Or is the project self contained within the massren repository?
from massren.
What do you expect the /deploy/win-386.bat
to accomplish?
It looks wrong somehow.
Looking at the Linux deploy script _posix.sh
I can say:
- Build the program
- Package the generated executable into a tarball inside
releases
- Create an installation script in
install
- The script will make sure not to overwrite the older archive and download the release matching the version we just built
- Untar the downloaded archive and execute the install script
- Move the final binary executable to /usr/bin
- Remove the executable we created in the first step
from massren.
What files are created and where once I run go build?
Just one file is generated when you run go build
, the executable. You can name it by running go build -o massren.exe
Should I build it outside the repo or in a separate branch?
Please always build from the master branch.
Do I have to make any changes to the other user directories that got created? Or is the project self contained within the massren repository?
All the project is in the massren repository. There's also a homebrew-massren repo for Homebrew but it's not needed for the Windows version.
What do you expect the /deploy/win-386.bat to accomplish?
That was the script I used before to build it with Cygwin, please disregard it (especially since I see it includes hard coded paths to stuff on my machine)
Looking at the Linux deploy script _posix.sh I can say:
This script automates many things for OSX and Linux, but for Windows it's actually simpler. All that is needed is to:
- Build the executable with
go build -o massren.exe
- Zip the file
massren.exe
into a file calledmassren.win-386.zip
And upload it to the release section on Github. Maybe it would be useful to create some .bat file to automate this, but basically with Go it's quite straightforward since it creates a static executable.
from massren.
Thanks for the info. Would it be okay if I build on a branch that is rebased from master?
from massren.
The official releases normally are based on tags from the master branch. It's fine to create one from a different branch, but what would it be for? Is it for some kind of beta version?
from massren.
I completely forgot I had asked this. I am now building on the master branch and have a separate branch to use as a scratch space.
I think I'll close this issue now.
from massren.
I can write a script for that. But I'm not sure if I'd be able to get it done in Command Prompt. It's easier in PowerShell.
from massren.
I have comiled the last version 1.5.4 for windows. When I use it it works, but when I run the go test
it fails with this message :
# massren
.\main_test.go:253:5: Error call has possible formatting directive %s
.\main_test.go:338:4: Errorf format %b has arg testCase.hasError of wrong type bool
FAIL massren [build failed]
So my questions are :
- How this test errors should be corrected ?
- How can I upload
massren.win-386.zip
to the release page ?
from massren.
Related Issues (20)
- -n and -v give very similar (read: the same) output HOT 2
- Freezes when no changes are made HOT 6
- Monitor text editor process ID and close massren if it's gone HOT 1
- Feature request: Option to merge directories upon name conflict rather than throwing an error HOT 2
- Cannot lowercase names HOT 2
- Dealing with already existing destination HOT 3
- Submit to Homebrew official repository HOT 10
- ENHANCEMENT As a user I want (the option) to ignore file extensions so I don't have to create regex
- `include_header` is not removing header HOT 2
- Research recursive file naming #Help #Question HOT 4
- Review/fix file name punctuation (i.e. question mark ?) breaking output list order #Bug
- Option to disable the giant message every time I do a renaming operation. HOT 2
- support go modules for go 1.16 or brew will soon stop being able to build massren
- Support auto filename validation HOT 1
- Handle newlines in filenames
- Temporarily override the set editor?
- Is this project abandoned? HOT 3
- 👋 Newly windows user here :)
- `massren .` HOT 3
- Order of filenames is not respect to explorer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massren.